I created a SOE application. Through URL w/ parameters (e.g. like that: http://localhost:6080/arcgis/rest/services/Test/RailLRSDef/MapServer/exts/SOE_LRSSegment/Segment_Ope...), I got the returned results like that (marked as Scenario A): { "Geometry": [ { "paths": [ [ [201394.01178484457, 173661.08635829584 ], ... ] ] } ] } if I load this data as var polylineJson = <above>; var polyline = new esri.geometry.Polyline(polylineJson); The polyline.paths contains nothing. If the data above is changed to (marked as Scenario B) { "paths": [ [ [201394.01178484457, 173661.08635829584 ], ... ] ] } The polyline.paths will be loaded with all of the point values. How can change the data format from Scenario A to Scenario B programally? Thanks.
I have verified the returned data from SOE through JSon validator at http://jsonlint.com/. The returned values are valid. So, I will close this thread.
I have verified the returned data from SOE through JSon validator at http://jsonlint.com/. The returned values are valid. So, I will close this thread.