I've been using Network Analyst in ArcGIS desktop (10.1), and using succesfully some SOAP API operations (findAddressCandidates, GetNALAyerNames, GetSolverParameters, GetSolverParameters2)
But now want to get OD Cost Matrix (Network Analyst) using SOAP API.
I've been following the steps: http://resources.arcgis.com/en/help/soap/10.1/#/Overview/01vp0000001p000000/
Basically, I call getSolverParameters2 to get parameters and content of NAClasses for the OD Cost Matrix Layer.
Debugging the code, I can see data returned by getSolverParameters2.
When I call solve operation (defined in WSDL)
I get and HTTP 400 Error (Bad request) and the following message:
"The request sent by the client was syntactically incorrect ()"
NAServerODCostMatrixParams params = (NAServerODCostMatrixParams) port.getSolverParameters2("OD Cost Matrix", "", true); NAServerSolverResults results = port.solve(params);
(Also, I've been trying fill NAServerODCostMatrix 'by hand', unsuccesfuly )
I trace the SOAP request message and I can see the content. The same results I get when I follow this steps using SOAP UI.
Do you have any idea about this problem and/or to solve it? or what can I try?