Artifact [9a4f292c9e]
Not logged in

Artifact 9a4f292c9e73826fae7843b18f31a10aa8b3bb8c76c06fd15d9eb015614445a9:

Ticket change [9a4f292c9e] - Ticket [584bfb7727] WS::Client returns nonsense for abstract types status still New with 1 other change by oehhar 2018-02-09 13:38:26.
D 2018-02-09T13:38:26.463
J +comment \n\n<hr\s/><i>oehhar\sadded\son\s2018-02-09\s13:38:26\sUTC:</i><br\s/>\nThank\syou\sfor\sthe\spointer\sto\sconvertTypeToDict.\r\n\r\nThe\s(very\scomplex)\sextend\stype\sis\sparsed\sas\snon\sarray\ssimple\stype.\r\nThus\sa\scall\sto\s"getText"\son\sthe\swhole\sresult\ssubtree\sgives\sthis\sannoying\sresult.\r\n\r\nHere\sis\sthe\slog\sfile\sanalysis\son\sthe\scall\swith\sthe\schildren\sof\sthe\sResult\snode\sas\sargument:\r\n\r\n<verbatim>\r\n::WS::Utils::convertTypeToDict\sClient\s1\sdomNode052AAEF0\stns1:MapServerInfo\sdomNode052AB418\s0\s\r\n\t\stype\sdef\s=\s{definition\s{Name\s{type\sxs:string\scomment\s{}}\sDescription\s{type\sxs:string\scomment\s{}}\sFullExtent\s{type\stns1:Envelope\scomment\s{}}\sExtent\s{type\stns1:Envelope\scomment\s{}}\sSpatialReference\s{type\stns1:SpatialReference\scomment\s{The\sspatial\sreference\sof\sthe\smap\s(data\sframe).}}\sMapLayerInfos\s{type\stns1:ArrayOfMapLayerInfo\scomment\s{}}\sBackgroundColor\s{type\stns1:Color\scomment\s{}}\sBookmarks\s{type\stns1:ArrayOfMapServerBookmark\scomment\s{}}\sDefaultMapDescription\s{type\stns1:MapDescription\scomment\s{}}\sUnits\s{type\stns1:esriUnits\scomment\s{The\sunits\sfor\sthe\smap\s(data\sframe).}}\sSupportedImageReturnTypes\s{type\stns1:esriImageReturnType\scomment\s{}}\sBackgroundSymbol\s{type\stns1:FillSymbol\scomment\s{}}\sCopyrightText\s{type\sxs:string\scomment\s{}}\sStandaloneTableInfos\s{type\stns1:ArrayOfStandaloneTableInfo\scomment\s{}}\sStandaloneTableDescriptions\s{type\stns1:ArrayOfStandaloneTableDescription\scomment\s{}}\sFullTimeExtent\s{type\stns1:TimeExtent\scomment\s{}}\sDefaultTimeStepInterval\s{type\sxs:double\scomment\s{}}\sDefaultTimeStepIntervalUnits\s{type\stns1:esriTimeUnits\scomment\s{}}\sDefaultTimeWindow\s{type\sxs:double\scomment\s{}}\sSupportsDynamicLayers\s{type\sxs:boolean\scomment\s{}}\sHasLiveData\s{type\sxs:boolean\scomment\s{}}\sMinScale\s{type\sxs:double\scomment\s{}}\sMaxScale\s{type\sxs:double\scomment\s{}}}\sxns\stns1\sabstract\sfalse}\s\r\n\s\t\sXML\sof\snode\sis\s<Result\sxsi:type="tns:MapServerInfo">\s\r\n\s\s\s\s\s<Name>Layers</Name>\s\r\n\s\s\s\s\s<Description/>\s\r\n\s\s\s\s\s<FullExtent\sxsi:type="tns:EnvelopeN">\s\r\n\s\s\s\s\s\s\s\s\s<XMin>-8883833.3022622615</XMin>\s\r\n\s\s\s\s\s\s\s\s\s<YMin>4916395.3269803952</YMin>\s\r\n\s\s\s\s\s\s\s\s\s<XMax>-7973800.0204237271</XMax>\s\r\n\s\s\s\s\s\s\s\s\s<YMax>5632483.3843831643</YMax>\s\r\n\s\s\s\s\s\s\s\s\s<SpatialReference\sxsi:type="tns:ProjectedCoordinateSystem">\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<WKT>PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0],AUTHORITY["EPSG",3857]]</WKT>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<XOrigin>-20037700</XOrigin>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<YOrigin>-30241100</YOrigin>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<XYScale>148923141.92838538</XYScale>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<ZOrigin>-100000</ZOrigin>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<ZScale>10000</ZScale>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<MOrigin>-100000</MOrigin>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<MScale>10000</MScale>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<XYTolerance>0.001</XYTolerance>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<ZTolerance>0.001</ZTolerance>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<MTolerance>0.001</MTolerance>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<HighPrecision>true</HighPrecision>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<WKID>102100</WKID>\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s<LatestWKID>3857</LatestWKID>\s\r\n\s\s\s\s\s\s\s\s\s</SpatialReference>\s\r\n\s\s\s\s\s</FullExtent>\r\n***\ssnip\s***\r\n\s\r\n\s\t\spartsList\sis\s{Name\sDescription\sFullExtent\sExtent\sSpatialReference\sMapLayerInfos\sBackgroundColor\sBookmarks\sDefaultMapDescription\sUnits\sSupportedImageReturnTypes\sBackgroundSymbol\sCopyrightText\sStandaloneTableInfos\sStandaloneTableDescriptions\sFullTimeExtent\sDefaultTimeStepInterval\sDefaultTimeStepIntervalUnits\sDefaultTimeWindow\sSupportsDynamicLayers\sHasLiveData\sMinScale\sMaxScale}\s\r\n\sType\s=\s{string}\stypeInfoList\s=\s{0\s0}\s\r\n\s@3\s\r\n\s\tpartName\sName\spartType\sxs:string\sxns\stns1\stypeInfoList\s0\s0\s\r\n\sTrying\s#1\sdomNode052AAEF0\sselectNodes\stns1:Name\s\r\n\sTrying\s#2\sdomNode052AAEF0\sselectNodes\stns1:Name\s\r\n\sTrying\s#3\sdomNode052AAEF0\sselectNodes\sName\s\r\n\s\t\t\sFound\s1\sName\s\r\n\r\n***\sin\s::WS::Utils::GetServiceTypeDef\sClient\s1\sxs:string\r\n\t\t\s\r\n\sType\s=\s{string}\stypeInfoList\s=\s{0\s0}\s\r\n\s@3\s\r\n***\s->\ssymple\stype:\sstring\r\n\s\tpartName\sDescription\spartType\sxs:string\sxns\stns1\stypeInfoList\s0\s0\s\r\n\sTrying\s#1\sdomNode052AAEF0\sselectNodes\stns1:Description\s\r\n\sTrying\s#2\sdomNode052AAEF0\sselectNodes\stns1:Description\s\r\n\sTrying\s#3\sdomNode052AAEF0\sselectNodes\sDescription\s\r\n\s\t\t\sFound\s1\sDescription\s\r\n***\shere\sis\sthe\sFullExtend\srun\s***\r\n\r\n***\sin\s(::WS::Utils::GetServiceTypeDef\sClient\s1\stns1:Envelope)\r\n\r\n\sType\s=\s{tns1:Envelope}\stypeInfoList\s=\s{0\s0}\s\r\n\s@2\s\r\n\r\n***\sCustom\ssimple\stype\r\n***\ssimpleTypes($mode=Client,$service=1,$type=tns1:Envelope)\s=\s{0\s0}\r\n\r\n***\sutilities\s1443\r\n\tpartName\sFullExtent\spartType\stns1:Envelope\sxns\stns1\stypeInfoList\s0\s0\s\r\n\sTrying\s#1\sdomNode052AAEF0\sselectNodes\stns1:FullExtent\s\r\n\sTrying\s#2\sdomNode052AAEF0\sselectNodes\stns1:FullExtent\s\r\n\sTrying\s#3\sdomNode052AAEF0\sselectNodes\sFullExtent\s\r\n***\sutilities\s1477\r\n\s\t\t\sFound\s1\sFullExtent\s\r\n</verbatim>\r\n\r\nWith\sthe\stype\s"0\s0",\sit\sgoes\sto\sa\sgetText\sand\sthus\sto\sthe\sstrange\sresult.\r\n\r\nNow,\sthe\stype\sshould\sbe\snon\ssimple\snon\sarray\s"1\s0".\r\nThen,\swe\swould\sget\sthe\ssingle\sfields\s(or\swould\sget\sa\schance\sto\sget\sit).
K 584bfb772724c1a938f671b8a9ac1d57b2d70f58
U oehhar
Z 34c38529f59b2bbd5253626182ba8ad0