Artifact Content
Not logged in

Artifact a755147d6c14a716a2d9e5174271269330731fcbfeb828052dfd7c6a7e1ab206:

Ticket change [a755147d6c] - Ticket [584bfb7727] WS::Client returns nonsense for abstract types status still New with 1 other change by oehhar 2018-05-11 17:49:22.
D 2018-05-11T17:49:22.693
J +comment \n\n<hr\s/><i>oehhar\sadded\son\s2018-05-11\s17:49:22\sUTC:</i><br\s/>\nA\sdebug\ssession\sI\stried\sto\sfind\sthe\scode\sto\sfind\swhere\sthe\sresponse\snamespace\sprefix\sis\smapped\sto\sthe\sauto-generated\snamespace\sprefix\sfrom\sthe\swsdl\sanalysis.\r\n\r\nTo\sresume:\r\n\r\n\s\s\s*\s\s\sTCLWS\snamespace\sprefix\sfor\stype\s"EnvelopeN":\stns1\r\n\s\s\s*\s\s\sResponse\sXML\snamespace\sfor\ssame\stype:\stns\r\n\r\nBoth\sare\snot\smapped\stogether\sresulting\sin\sa\smiss-interpretation\sof\sthe\sresponse.\r\n\r\n<hr\s/>\r\n\r\nSo,\sline\s2170\sof\r\n\r\n<verbatim>\r\n::log::log\sdebug\s"Using\snamespaces\s{$xns}"\r\n</verbatim>\r\n\r\nof\sfunction\r\n\r\n<verbatim>\r\nproc\s::WS::Client::parseResults\s{serviceName\soperationName\sinXML}\s{\r\n</verbatim>\r\n\r\noutputs:\r\n\r\n<verbatim>\r\nUsing\snamespaces\s{\r\n\s\sENV\shttp://schemas.xmlsoap.org/soap/envelope/\r\n\s\sxsi\shttp://www.w3.org/2001/XMLSchema-instance\r\n\s\sxs\shttp://www.w3.org/2001/XMLSchema\r\n\s\stns1\shttp://www.esri.com/schemas/ArcGIS/10.3\r\n\s\sd\shttp://schemas.xmlsoap.org/wsdl/soap/\r\n\s\sxs\shttp://www.w3.org/2001/XMLSchema}\r\n</verbatim>\r\n\r\nSo,\shere\sis\s"tns1\shttp://www.esri.com/schemas/ArcGIS/10.3"\sin\s"$serviceInfo\stargetNamespace".\r\n\r\nThen,\sthis\sis\scalled:\r\n\r\n<verbatim>\r\n::WS::Utils::convertTypeToDict\r\n</verbatim>\r\n\r\nThe\sresponse\snamespace\sprefix\scontained\sin\sthe\stop\s"Envelope"\stag\sis\snever\slooked\sup.\sIt\sseams\sto\sbe\signored.\sBut\sthe\srequired\sinformation\sis\sin\sthere:\r\n\r\n<verbatim>\r\n<soap:Envelope\r\n\s\s...\r\n\s\sxmlns:tns="http://www.esri.com/schemas/ArcGIS/10.3">\r\n</verbatim>\r\n\r\nHow\smay\sthis\swork\s?\r\n\r\nIMHO\sthere\sshould\sbe\sa\smatch\sdone\sof\sthe\sheader\snamespace\sprefixes\sto\sthe\sones\ssaved\sin\sthe\swsdl.\r\n\r\nOr\sis\sthis\san\sissue\sin\stdom\s?\r\n\r\nShould\sthe\scommand\r\n\r\n<verbatim>\r\n$doc\sselectNodesNamespaces\s$xns\r\n</verbatim>\r\n\r\n(Line\s2171\sClientSide,\sdirectly\sfollows\sthe\sdebug\sline\smentioned\shere\sat\sthe\stop)\r\n\r\nchange\sthe\snamespace\sprefixes\s?\r\n\r\nAny\sidea\sappreciated.\r\n\r\nThank\syou,\r\nHarald
K 584bfb772724c1a938f671b8a9ac1d57b2d70f58
U oehhar
Z eed1e39802fe7260d1eb1b088c305945