I'm looking for help on creating a test SOAP call to the Query method of a Feature Service (ArcGIS 10.1) using SoapUI or a similar tool. Can anyone provide some guidance on what to speocify in the etag & format tags of the ServiceDataOptions?
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.esri.com/schemas/ArcGIS/10.1"> <soapenv:Header/> <soapenv:Body> <ns:Query> <LayerOrTableID>19</LayerOrTableID> <QueryFilter> <WhereClause>APN='00600410130000'</WhereClause> </QueryFilter> <ServiceDataOptions> <Etag>"0"</Etag> <Format>"JSON"</Format> </ServiceDataOptions> </ns:Query> </soapenv:Body> </soapenv:Envelope>
Thanks,
Dan
The 2 keys were leave out the reference to etag and don't include quotes on the format. In our case, the NATIVE format was preferred over JSON.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.esri.com/schemas/ArcGIS/10.1"> <soapenv:Header/> <soapenv:Body> <ns:Query> <LayerOrTableID>19</LayerOrTableID> <QueryFilter> <WhereClause>APN='00600410130000'</WhereClause> </QueryFilter> <ServiceDataOptions> <Format>NATIVE</Format> </ServiceDataOptions> </ns:Query> </soapenv:Body> </soapenv:Envelope>
Thanks to https://community.esri.com/migrated-users/3354
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.