Error processing request

Parameters

CONTENT_LENGTH0
REQUEST_METHODGET
REQUEST_URI/revision/TCLWS+%28Web+Services+for+Tcl%29+as+SAP+Client?V=14
QUERY_STRINGV=14
CONTENT_TYPE
DOCUMENT_URI/revision/TCLWS+(Web+Services+for+Tcl)+as+SAP+Client
DOCUMENT_ROOT/var/www/nikit/nikit/nginx/../docroot
SCGI1
SERVER_PROTOCOLHTTP/1.1
HTTPSon
REMOTE_ADDR172.70.130.195
REMOTE_PORT39870
SERVER_PORT4443
SERVER_NAMEwiki.tcl-lang.org
HTTP_HOSTwiki.tcl-lang.org
HTTP_CONNECTIONKeep-Alive
HTTP_ACCEPT_ENCODINGgzip, br
HTTP_X_FORWARDED_FOR3.145.40.28
HTTP_CF_RAY88dc284fcf182bef-ORD
HTTP_X_FORWARDED_PROTOhttps
HTTP_CF_VISITOR{"scheme":"https"}
HTTP_ACCEPT*/*
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_REFERERhttp://tcl.wiki/revision/TCLWS+%28Web+Services+for+Tcl%29+as+SAP+Client?V=14
HTTP_CF_CONNECTING_IP3.145.40.28
HTTP_CDN_LOOPcloudflare
HTTP_CF_IPCOUNTRYUS

Body


Error

Unknow state transition: LINE -> END

-code

1

-level

0

-errorstack

INNER {returnImm {Unknow state transition: LINE -> END} {}} CALL {my render_wikit {TCLWS (Web Services for Tcl) as SAP Client} \[HaO\]\ 2015-04-27:\ I\ am\ attacking\ the\ subject\ to\ write\ a\ more\ or\ less\ generic\ TCLWS\ \[Web\ Service\]\ client\ for\ SAP.\nThis\ is\ my\ \"progress\ report\ page\",\ which\ might\ involve\ the\ next\ days\ when\ I\ progress.\n\nThanks\ to\ Gerald\ W.\ Lester\ for\ the\ great\ package\ !\n\n**Literature**\n\nThis\ is\ the\ book\ I\ am\ using\ for\ reference:\ \[https://www.rheinwerk-verlag.de/sap-schnittstellenprogrammierung_3496/\]\n\n**Authentication**\n\nSAP\ has\ many\ authentication\ and\ transport\ security\ options.\nI\ tried\ HTTP\ Basic\ Authentication\ and\ no\ transport\ layer\ security.\n\nWithin\ this\ clt\ thread\ \[https://groups.google.com/forum/#!topic/comp.lang.tcl/uOAhxCNPLwk\],\ JMar\ wrote\ how\ to\ use\ basic\ authentication:\n\n\n======tcl\n#--\ http\ basic\ authentication\nset\ authinfo\ \[\ base64::encode\ \$szUsername:\$szPassword\ \]\nset\ httpHeader\ \[\ list\ Authorization\ \"Basic\ \$authinfo\"\ \]\n\nset\ szResponseDct\ \[\ ::WS::Client::DoCall\ \$szServiceName\ myMethod\ \$myRequest\ \$httpHeader\ \]\ \n======\n\nThis\ worked\ out\ of\ the\ box.\n\n\n**WSDL\ File**\n\nThe\ WSDL\ file\ delivered\ by\ SAP\ parses\ out\ of\ the\ box.\n\nThe\ URL\ may\ be\ taken\ from\ SAP\ \"SOAMANAGER\"\ and\ must\ include\ the\ bindings.\nURLs\ from\ the\ Web\ service\ wizard\ (SE80)\ don't\ contain\ the\ binding.\n\n**CALL**\n\nThe\ main\ Information\ is\ that\ SAP\ only\ supports\ WSDL\ 1.1\ \[http://www.w3.org/TR/wsdl\]\[https://en.wikipedia.org/wiki/Web_Services_Description_Language%|%Wikipedia\ WSDL%|%\].\n\nWhen\ the\ service\ is\ called\ without\ setting\ any\ options\ in\ TCLWS,\ one\ get\ the\ error\ from\ SAP:\n\n======none\nFehler\ bei\ der\ Web-Service-Verarbeitung\;\ Weitere\ Details\ im\ Web-Service-Fehlerprotokoll\ auf\ Provider-Seite\ (UTC-Zeitstempel\ ...\;\ Transaktions-ID\ ...)\n======\nthis\ is\ German,\ English\ would\ be\ something\ like:\ 'Error\ in\ Web\ service\ processing\;\ more\ details\ in\ the\ error\ protocol\ of\ the\ provider'.\n\nHere\ is\ the\ request\ sent\ with\ standard\ options:\n\n======none\n<?xml\ version=\"1.0\"\ \ encoding=\"utf-8\"?>\n<SOAP-ENV:Envelope\n\ \ xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"\n\ \ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"\n\ \ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\ \ xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n\ \ xmlns=\"urn:sap-com:document:sap:rfc:functions\"\n\ \ xmlns:tns1=\"urn:sap-com:document:sap:rfc:functions\"\n\ \ xmlns:w=\"http://schemas.xmlsoap.org/wsdl/\"\n\ \ xmlns:d=\"http://schemas.xmlsoap.org/wsdl/soap/\"\n\ \ xmlns:tns2=\"http://schemas.xmlsoap.org/wsdl/soap12/\"\n\ \ xmlns:tns3=\"http://schemas.xmlsoap.org/wsdl/http/\"\n\ \ xmlns:tns4=\"http://schemas.xmlsoap.org/wsdl/mime/\"\n\ \ xmlns:tns5=\"http://schemas.xmlsoap.org/ws/2004/09/policy\"\n\ \ xmlns:tns6=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n\ \ <SOAP-ENV:Body>\n\ \ \ \ <tns1:BAPI_NAME>\n\ \ \ \ \ \ <tns1:MATERIAL>000000000000636339</tns1:MATERIAL>\n\ \ \ \ </tns1:BAPI_NAME>\n\ \ </SOAP-ENV:Body>\n</SOAP-ENV:Envelope>\n======\n\nHere\ is\ what\ is\ proposed\ by\ SAP\ (SE80\ F8\ \"Test\ Web\ Service\"):\n======none\n<n0:BAPI_NAME\ xmlns:n0=\"urn:sap-com:document:sap:rfc:functions\">\n\ <MATERIAL>000000000000636339</MATERIAL>\n</n0:BAPI_NAME>\n======\n\nWhen\ looking\ to\ the\ protocol,\ one\ finds\ out,\ that\ the\ passed\ variables\ were\ not\ detected.\n\nI\ checked\ the\ available\ options\ and\ tried\ the\ with\ SAP\ \[http://core.tcl.tk/tclws/doc/tip/docs/Calling_a_Web_Service.html%|%original\ doc%|%\]:\n%|Option|Default|After\ WSDL\ parse\ (if\ different)|Set\ to|Complementary\ info|%\n&|contentType|text/xml\;charset=utf-8|||&\n&|location||http://saphost.de:8025/sap/bc/srt/rfc/sap/zws_bapi_name/001/service0/binding0||URL\ to\ send\ http\ request\ to|&\n&|skipHeaderLevel|0|0||No\ changes\ on\ request\ document|&\n&|skipLevelOnReply|0|0||Also\ look\ for\ results\ when\ Tag\ <ENV:header>\ is\ not\ present|&\n&|skipLevelWhenActionPresent|0|0||Removes\ xml\ tag\ '<tns1:BAPI_NAME>'\ in\ upper\ query.\ Implies\ 'skipLevelOnReply'.\ |&\n&|suppressTargetNS|0|0|1|Do\ not\ output\ namespace\ prefix\ \"tns1:\"\ in\ front\ of\ call\ variables.\ In\ the\ upper\ example\ query,\ the\ xml\ tag\ '<tns1:MATERIAL>'\ is\ replaced\ by\ '<MATERIAL>'.\ This\ looks\ much\ more\ like\ the\ SAP\ sample.|&\n&|targetNamespace||tns1\ urn:sap-com:document:sap:rfc:functions\ w\ http://schemas.xmlsoap.org/wsdl/\ xs\ http://www.w3.org/2001/XMLSchema\ d\ http://schemas.xmlsoap.org/wsdl/soap/\ tns2\ http://schemas.xmlsoap.org/wsdl/soap12/\ tns3\ http://schemas.xmlsoap.org/wsdl/http/\ tns4\ http://schemas.xmlsoap.org/wsdl/mime/\ tns5\ http://schemas.xmlsoap.org/ws/2004/09/policy\ tns6\ http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd||The\ book\ example\ has\ none\ of\ those.\ I\ will\ remove\ them\ in\ a\ future\ try.\ |&\n&|parseInAttr|\{\}|\{\}||Hard\ coded\ to\ 1.|&\n&|genOutAttr|\{\}|\{\}||Utility\ option\ hard\ coded\ to\ 1|&\n&|valueAttrCompatiblityMode|1|1||How\ attributes\ are\ represented\ in\ input/output\ dict|&\n&|suppressNS|\{\}|\{\}||List\ of\ namespace\ prefixes\ to\ suppress.\ Option\ \"suppressTargetNS\"\ sets\ \"tns1\"\ on\ this\ list.|&\n&|useTypeNs|\{\}|\{\}||Add\ type\ namespace\ in\ query\ xml.\ No\ change\ observed.|&\n&|nsOnChangeOnly|\{\}|\{\}||Add\ type\ namespace\ in\ query\ xml\ only\ if\ different\ to\ tns1.\ No\ changes\ observed.|&\n&|noTargetNs|0|0|1|Does\ not\ add\ attribute\ \"xmlns\ <Targetnamespace>\"\ to\ request\ xml\ tag\ \"SOAP-ENV:Envelope\".\ In\ the\ example\ query,\ this\ is\ 'xmlns=\"urn:sap-com:document:sap:rfc:functions\"'.\ This\ is\ also\ the\ case\ in\ the\ example\ in\ the\ book\ so\ I\ tried\ this\ option.|&\n&|errorOnRedefine|0|0||Allow\ to\ add\ a\ service\ with\ the\ same\ name\ as\ an\ existing\ service.|&\n&|allowOperOverloading|1|1||An\ operation\ may\ exist\ twice\ in\ the\ WSDL|&\n&|UseNS|\{\}|||WS\ utility\ option\ hard\ coded\ to\ 0.|&\n&|ValueAttr|\{\}|||WS\ utility\ option\ hard\ coded\ to\ \{\}.|&\n\nHere\ is\ what\ was\ sent\ with\ options\ \"suppressTargetNS\"\ and\ \"noTargetNs\"\ and\ with\ worked\ with\ SAP:\n\n======none\n<SOAP-ENV:Envelope\n\ \ xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"\n\ \ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"\n\ \ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\ \ xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n\ \ xmlns:tns1=\"urn:sap-com:document:sap:rfc:functions\"\n\ \ xmlns:w=\"http://schemas.xmlsoap.org/wsdl/\"\n\ \ xmlns:d=\"http://schemas.xmlsoap.org/wsdl/soap/\"\n\ \ xmlns:tns2=\"http://schemas.xmlsoap.org/wsdl/soap12/\"\n\ \ xmlns:tns3=\"http://schemas.xmlsoap.org/wsdl/http/\"\n\ \ xmlns:tns4=\"http://schemas.xmlsoap.org/wsdl/mime/\"\n\ \ xmlns:tns5=\"http://schemas.xmlsoap.org/ws/2004/09/policy\"\n\ \ xmlns:tns6=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n\ \ <SOAP-ENV:Body>\n\ \ \ \ <tns1:BAPI_NAME>\n\ \ \ \ \ \ <MATERIAL>\n\ \ \ \ \ \ \ \ 000000000000636339\n\ \ \ \ \ \ </MATERIAL>\n\ \ \ \ </tns1:BAPI_NAME>\n\ \ </SOAP-ENV:Body>\n</SOAP-ENV:Envelope>\n======\n\nHere\ is\ the\ response\ of\ SAP:\n\n======none\n<soap-env:Envelope\ xmlns:soap-env=\"http://schemas.xmlsoap.org/soap/envelope/\">\n\ \ <soap-env:Header\ />\n\ \ <soap-env:Body>\n\ \ \ \ <n0:BAPI_NAMEResponse\ xmlns:n0=\"urn:sap-com:document:sap:rfc:functions\">\n\ \ \ \ \ \ <MATERIALNAMEDATA>\n\ \ \ \ \ \ \ \ <PUR_GROUP\ />\n\ \ \ \ \ \ \ \ <ISSUE_UNIT\ />\n\ \ \ \ \ \ </MATERIALNAMEDATA>\n\ \ \ \ \ \ <MATERIALVALUATIONDATA>\n\ \ \ \ \ \ \ \ <PRICE_CTRL\ />\n\ \ \ \ \ \ \ \ <STD_PRICE>0.0</STD_PRICE>\n\ \ \ \ \ \ \ \ <PRICE_UNIT>0</PRICE_UNIT>\n\ \ \ \ \ \ \ \ <CURRENCY\ />\n\ \ \ \ \ \ \ \ <CURRENCY_ISO\ />\n\ \ \ \ \ \ </MATERIALVALUATIONDATA>\n\ \ \ \ \ \ <MATERIAL_GENERAL_DATA>\n\ \ \ \ \ \ \ \ <MATL_DESC>Sunshine\ in\ Boxes</MATL_DESC>\n\ \ \ \ \ \ </MATERIAL_GENERAL_DATA>\n\ \ \ \ \ \ <RETURN>\n\ \ \ \ \ \ \ \ <TYPE>S</TYPE>\n\ \ \ \ \ \ \ \ <CODE\ />\n\ \ \ \ \ \ \ \ <MESSAGE\ />\n\ \ \ \ \ \ \ \ <LOG_NO\ />\n\ \ \ \ \ \ \ \ <LOG_MSG_NO>000000</LOG_MSG_NO>\n\ \ \ \ \ \ \ \ <MESSAGE_V1\ />\n\ \ \ \ \ \ \ \ <MESSAGE_V2\ />\n\ \ \ \ \ \ \ \ <MESSAGE_V3\ />\n\ \ \ \ \ \ \ \ <MESSAGE_V4\ />\n\ \ \ \ \ \ </RETURN>\n\ \ \ \ </n0:BAPI_NAMEResponse>\n\ \ </soap-env:Body>\n</soap-env:Envelope>\n======\n\nand\ the\ returned\ dict\ looks\ as\ follows:\n\n\n======\n\{\nMATERIALPLANTDATA\ \{\n\ \ PUR_GROUP\ \{\}\n\ \ ISSUE_UNIT\ \{\}\n\}\nMATERIALVALUATIONDATA\ \{\n\ \ PRICE_CTRL\ \{\}\n\ \ STD_PRICE\ 0.0\n\ \ PRICE_UNIT\ 0\n\ \ CURRENCY\ \{\}\n\ \ CURRENCY_ISO\ \{\}\n\}\nMATERIAL_GENERAL_DATA\ \{\n\ \ MATL_DESC\ \{Sunshine\ in\ Boxes\}\n\}\nRETURN\ \{\n\ \ TYPE\ S\n\ \ CODE\ \{\}\n\ \ MESSAGE\ \{\}\n\ \ LOG_NO\ \{\}\n\ \ LOG_MSG_NO\ 000000\n\ \ MESSAGE_V1\ \{\}\n\ \ MESSAGE_V2\ \{\}\n\ \ MESSAGE_V3\ \{\}\n\ \ MESSAGE_V4\ \{\}\n\}======\n\n\n<<categories>>WEB\ Service regexp2} CALL {my render {TCLWS (Web Services for Tcl) as SAP Client} \[HaO\]\ 2015-04-27:\ I\ am\ attacking\ the\ subject\ to\ write\ a\ more\ or\ less\ generic\ TCLWS\ \[Web\ Service\]\ client\ for\ SAP.\nThis\ is\ my\ \"progress\ report\ page\",\ which\ might\ involve\ the\ next\ days\ when\ I\ progress.\n\nThanks\ to\ Gerald\ W.\ Lester\ for\ the\ great\ package\ !\n\n**Literature**\n\nThis\ is\ the\ book\ I\ am\ using\ for\ reference:\ \[https://www.rheinwerk-verlag.de/sap-schnittstellenprogrammierung_3496/\]\n\n**Authentication**\n\nSAP\ has\ many\ authentication\ and\ transport\ security\ options.\nI\ tried\ HTTP\ Basic\ Authentication\ and\ no\ transport\ layer\ security.\n\nWithin\ this\ clt\ thread\ \[https://groups.google.com/forum/#!topic/comp.lang.tcl/uOAhxCNPLwk\],\ JMar\ wrote\ how\ to\ use\ basic\ authentication:\n\n\n======tcl\n#--\ http\ basic\ authentication\nset\ authinfo\ \[\ base64::encode\ \$szUsername:\$szPassword\ \]\nset\ httpHeader\ \[\ list\ Authorization\ \"Basic\ \$authinfo\"\ \]\n\nset\ szResponseDct\ \[\ ::WS::Client::DoCall\ \$szServiceName\ myMethod\ \$myRequest\ \$httpHeader\ \]\ \n======\n\nThis\ worked\ out\ of\ the\ box.\n\n\n**WSDL\ File**\n\nThe\ WSDL\ file\ delivered\ by\ SAP\ parses\ out\ of\ the\ box.\n\nThe\ URL\ may\ be\ taken\ from\ SAP\ \"SOAMANAGER\"\ and\ must\ include\ the\ bindings.\nURLs\ from\ the\ Web\ service\ wizard\ (SE80)\ don't\ contain\ the\ binding.\n\n**CALL**\n\nThe\ main\ Information\ is\ that\ SAP\ only\ supports\ WSDL\ 1.1\ \[http://www.w3.org/TR/wsdl\]\[https://en.wikipedia.org/wiki/Web_Services_Description_Language%|%Wikipedia\ WSDL%|%\].\n\nWhen\ the\ service\ is\ called\ without\ setting\ any\ options\ in\ TCLWS,\ one\ get\ the\ error\ from\ SAP:\n\n======none\nFehler\ bei\ der\ Web-Service-Verarbeitung\;\ Weitere\ Details\ im\ Web-Service-Fehlerprotokoll\ auf\ Provider-Seite\ (UTC-Zeitstempel\ ...\;\ Transaktions-ID\ ...)\n======\nthis\ is\ German,\ English\ would\ be\ something\ like:\ 'Error\ in\ Web\ service\ processing\;\ more\ details\ in\ the\ error\ protocol\ of\ the\ provider'.\n\nHere\ is\ the\ request\ sent\ with\ standard\ options:\n\n======none\n<?xml\ version=\"1.0\"\ \ encoding=\"utf-8\"?>\n<SOAP-ENV:Envelope\n\ \ xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"\n\ \ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"\n\ \ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\ \ xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n\ \ xmlns=\"urn:sap-com:document:sap:rfc:functions\"\n\ \ xmlns:tns1=\"urn:sap-com:document:sap:rfc:functions\"\n\ \ xmlns:w=\"http://schemas.xmlsoap.org/wsdl/\"\n\ \ xmlns:d=\"http://schemas.xmlsoap.org/wsdl/soap/\"\n\ \ xmlns:tns2=\"http://schemas.xmlsoap.org/wsdl/soap12/\"\n\ \ xmlns:tns3=\"http://schemas.xmlsoap.org/wsdl/http/\"\n\ \ xmlns:tns4=\"http://schemas.xmlsoap.org/wsdl/mime/\"\n\ \ xmlns:tns5=\"http://schemas.xmlsoap.org/ws/2004/09/policy\"\n\ \ xmlns:tns6=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n\ \ <SOAP-ENV:Body>\n\ \ \ \ <tns1:BAPI_NAME>\n\ \ \ \ \ \ <tns1:MATERIAL>000000000000636339</tns1:MATERIAL>\n\ \ \ \ </tns1:BAPI_NAME>\n\ \ </SOAP-ENV:Body>\n</SOAP-ENV:Envelope>\n======\n\nHere\ is\ what\ is\ proposed\ by\ SAP\ (SE80\ F8\ \"Test\ Web\ Service\"):\n======none\n<n0:BAPI_NAME\ xmlns:n0=\"urn:sap-com:document:sap:rfc:functions\">\n\ <MATERIAL>000000000000636339</MATERIAL>\n</n0:BAPI_NAME>\n======\n\nWhen\ looking\ to\ the\ protocol,\ one\ finds\ out,\ that\ the\ passed\ variables\ were\ not\ detected.\n\nI\ checked\ the\ available\ options\ and\ tried\ the\ with\ SAP\ \[http://core.tcl.tk/tclws/doc/tip/docs/Calling_a_Web_Service.html%|%original\ doc%|%\]:\n%|Option|Default|After\ WSDL\ parse\ (if\ different)|Set\ to|Complementary\ info|%\n&|contentType|text/xml\;charset=utf-8|||&\n&|location||http://saphost.de:8025/sap/bc/srt/rfc/sap/zws_bapi_name/001/service0/binding0||URL\ to\ send\ http\ request\ to|&\n&|skipHeaderLevel|0|0||No\ changes\ on\ request\ document|&\n&|skipLevelOnReply|0|0||Also\ look\ for\ results\ when\ Tag\ <ENV:header>\ is\ not\ present|&\n&|skipLevelWhenActionPresent|0|0||Removes\ xml\ tag\ '<tns1:BAPI_NAME>'\ in\ upper\ query.\ Implies\ 'skipLevelOnReply'.\ |&\n&|suppressTargetNS|0|0|1|Do\ not\ output\ namespace\ prefix\ \"tns1:\"\ in\ front\ of\ call\ variables.\ In\ the\ upper\ example\ query,\ the\ xml\ tag\ '<tns1:MATERIAL>'\ is\ replaced\ by\ '<MATERIAL>'.\ This\ looks\ much\ more\ like\ the\ SAP\ sample.|&\n&|targetNamespace||tns1\ urn:sap-com:document:sap:rfc:functions\ w\ http://schemas.xmlsoap.org/wsdl/\ xs\ http://www.w3.org/2001/XMLSchema\ d\ http://schemas.xmlsoap.org/wsdl/soap/\ tns2\ http://schemas.xmlsoap.org/wsdl/soap12/\ tns3\ http://schemas.xmlsoap.org/wsdl/http/\ tns4\ http://schemas.xmlsoap.org/wsdl/mime/\ tns5\ http://schemas.xmlsoap.org/ws/2004/09/policy\ tns6\ http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd||The\ book\ example\ has\ none\ of\ those.\ I\ will\ remove\ them\ in\ a\ future\ try.\ |&\n&|parseInAttr|\{\}|\{\}||Hard\ coded\ to\ 1.|&\n&|genOutAttr|\{\}|\{\}||Utility\ option\ hard\ coded\ to\ 1|&\n&|valueAttrCompatiblityMode|1|1||How\ attributes\ are\ represented\ in\ input/output\ dict|&\n&|suppressNS|\{\}|\{\}||List\ of\ namespace\ prefixes\ to\ suppress.\ Option\ \"suppressTargetNS\"\ sets\ \"tns1\"\ on\ this\ list.|&\n&|useTypeNs|\{\}|\{\}||Add\ type\ namespace\ in\ query\ xml.\ No\ change\ observed.|&\n&|nsOnChangeOnly|\{\}|\{\}||Add\ type\ namespace\ in\ query\ xml\ only\ if\ different\ to\ tns1.\ No\ changes\ observed.|&\n&|noTargetNs|0|0|1|Does\ not\ add\ attribute\ \"xmlns\ <Targetnamespace>\"\ to\ request\ xml\ tag\ \"SOAP-ENV:Envelope\".\ In\ the\ example\ query,\ this\ is\ 'xmlns=\"urn:sap-com:document:sap:rfc:functions\"'.\ This\ is\ also\ the\ case\ in\ the\ example\ in\ the\ book\ so\ I\ tried\ this\ option.|&\n&|errorOnRedefine|0|0||Allow\ to\ add\ a\ service\ with\ the\ same\ name\ as\ an\ existing\ service.|&\n&|allowOperOverloading|1|1||An\ operation\ may\ exist\ twice\ in\ the\ WSDL|&\n&|UseNS|\{\}|||WS\ utility\ option\ hard\ coded\ to\ 0.|&\n&|ValueAttr|\{\}|||WS\ utility\ option\ hard\ coded\ to\ \{\}.|&\n\nHere\ is\ what\ was\ sent\ with\ options\ \"suppressTargetNS\"\ and\ \"noTargetNs\"\ and\ with\ worked\ with\ SAP:\n\n======none\n<SOAP-ENV:Envelope\n\ \ xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"\n\ \ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"\n\ \ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\ \ xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n\ \ xmlns:tns1=\"urn:sap-com:document:sap:rfc:functions\"\n\ \ xmlns:w=\"http://schemas.xmlsoap.org/wsdl/\"\n\ \ xmlns:d=\"http://schemas.xmlsoap.org/wsdl/soap/\"\n\ \ xmlns:tns2=\"http://schemas.xmlsoap.org/wsdl/soap12/\"\n\ \ xmlns:tns3=\"http://schemas.xmlsoap.org/wsdl/http/\"\n\ \ xmlns:tns4=\"http://schemas.xmlsoap.org/wsdl/mime/\"\n\ \ xmlns:tns5=\"http://schemas.xmlsoap.org/ws/2004/09/policy\"\n\ \ xmlns:tns6=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\">\n\ \ <SOAP-ENV:Body>\n\ \ \ \ <tns1:BAPI_NAME>\n\ \ \ \ \ \ <MATERIAL>\n\ \ \ \ \ \ \ \ 000000000000636339\n\ \ \ \ \ \ </MATERIAL>\n\ \ \ \ </tns1:BAPI_NAME>\n\ \ </SOAP-ENV:Body>\n</SOAP-ENV:Envelope>\n======\n\nHere\ is\ the\ response\ of\ SAP:\n\n======none\n<soap-env:Envelope\ xmlns:soap-env=\"http://schemas.xmlsoap.org/soap/envelope/\">\n\ \ <soap-env:Header\ />\n\ \ <soap-env:Body>\n\ \ \ \ <n0:BAPI_NAMEResponse\ xmlns:n0=\"urn:sap-com:document:sap:rfc:functions\">\n\ \ \ \ \ \ <MATERIALNAMEDATA>\n\ \ \ \ \ \ \ \ <PUR_GROUP\ />\n\ \ \ \ \ \ \ \ <ISSUE_UNIT\ />\n\ \ \ \ \ \ </MATERIALNAMEDATA>\n\ \ \ \ \ \ <MATERIALVALUATIONDATA>\n\ \ \ \ \ \ \ \ <PRICE_CTRL\ />\n\ \ \ \ \ \ \ \ <STD_PRICE>0.0</STD_PRICE>\n\ \ \ \ \ \ \ \ <PRICE_UNIT>0</PRICE_UNIT>\n\ \ \ \ \ \ \ \ <CURRENCY\ />\n\ \ \ \ \ \ \ \ <CURRENCY_ISO\ />\n\ \ \ \ \ \ </MATERIALVALUATIONDATA>\n\ \ \ \ \ \ <MATERIAL_GENERAL_DATA>\n\ \ \ \ \ \ \ \ <MATL_DESC>Sunshine\ in\ Boxes</MATL_DESC>\n\ \ \ \ \ \ </MATERIAL_GENERAL_DATA>\n\ \ \ \ \ \ <RETURN>\n\ \ \ \ \ \ \ \ <TYPE>S</TYPE>\n\ \ \ \ \ \ \ \ <CODE\ />\n\ \ \ \ \ \ \ \ <MESSAGE\ />\n\ \ \ \ \ \ \ \ <LOG_NO\ />\n\ \ \ \ \ \ \ \ <LOG_MSG_NO>000000</LOG_MSG_NO>\n\ \ \ \ \ \ \ \ <MESSAGE_V1\ />\n\ \ \ \ \ \ \ \ <MESSAGE_V2\ />\n\ \ \ \ \ \ \ \ <MESSAGE_V3\ />\n\ \ \ \ \ \ \ \ <MESSAGE_V4\ />\n\ \ \ \ \ \ </RETURN>\n\ \ \ \ </n0:BAPI_NAMEResponse>\n\ \ </soap-env:Body>\n</soap-env:Envelope>\n======\n\nand\ the\ returned\ dict\ looks\ as\ follows:\n\n\n======\n\{\nMATERIALPLANTDATA\ \{\n\ \ PUR_GROUP\ \{\}\n\ \ ISSUE_UNIT\ \{\}\n\}\nMATERIALVALUATIONDATA\ \{\n\ \ PRICE_CTRL\ \{\}\n\ \ STD_PRICE\ 0.0\n\ \ PRICE_UNIT\ 0\n\ \ CURRENCY\ \{\}\n\ \ CURRENCY_ISO\ \{\}\n\}\nMATERIAL_GENERAL_DATA\ \{\n\ \ MATL_DESC\ \{Sunshine\ in\ Boxes\}\n\}\nRETURN\ \{\n\ \ TYPE\ S\n\ \ CODE\ \{\}\n\ \ MESSAGE\ \{\}\n\ \ LOG_NO\ \{\}\n\ \ LOG_MSG_NO\ 000000\n\ \ MESSAGE_V1\ \{\}\n\ \ MESSAGE_V2\ \{\}\n\ \ MESSAGE_V3\ \{\}\n\ \ MESSAGE_V4\ \{\}\n\}======\n\n\n<<categories>>WEB\ Service} CALL {my revision {TCLWS (Web Services for Tcl) as SAP Client}} CALL {::oo::Obj1937711 process revision/TCLWS+%28Web+Services+for+Tcl%29+as+SAP+Client} CALL {::oo::Obj1937709 process}

-errorcode

NONE

-errorinfo

Unknow state transition: LINE -> END
    while executing
"error $msg"
    (class "::Wiki" method "render_wikit" line 6)
    invoked from within
"my render_$default_markup $N $C $mkup_rendering_engine"
    (class "::Wiki" method "render" line 8)
    invoked from within
"my render $name $C"
    (class "::Wiki" method "revision" line 31)
    invoked from within
"my revision $page"
    (class "::Wiki" method "process" line 56)
    invoked from within
"$server process [string trim $uri /]"

-errorline

4