AnsweredAssumed Answered

Test Geoprocessing Service soap with SOAP UI

Question asked by DEVAPPGIS on Jul 27, 2017

hi guys,

I have developed a geoprocessing service with one parameter as imput (GPString).

The service works fine on REST way ,but i need to test it in SOAP way.

Is possible to test it with SOAP UI? I have try but i don't understand how to build the xml in SOAP UI for input parameter

The method is "Execute"

<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:Execute>
         <ToolName>?</ToolName>
         <Values>
            <!--Zero or more repetitions:-->
            <GPValue/>
         </Values>
         <!--Optional:-->
         <Options>
            <!--Optional:-->
            <DensifyFeatures>?</DensifyFeatures>
            <!--Optional:-->
            <TransportType>?</TransportType>
            <!--Optional:-->
            <SpatialReference>
               <!--Optional:-->
               <WKT>?</WKT>
               <!--Optional:-->
               <XOrigin>?</XOrigin>
               <!--Optional:-->
               <YOrigin>?</YOrigin>
               <!--Optional:-->
               <XYScale>?</XYScale>
               <!--Optional:-->
               <ZOrigin>?</ZOrigin>
               <!--Optional:-->
               <ZScale>?</ZScale>
               <!--Optional:-->
               <MOrigin>?</MOrigin>
               <!--Optional:-->
               <MScale>?</MScale>
               <!--Optional:-->
               <XYTolerance>?</XYTolerance>
               <!--Optional:-->
               <ZTolerance>?</ZTolerance>
               <!--Optional:-->
               <MTolerance>?</MTolerance>
               <!--Optional:-->
               <HighPrecision>?</HighPrecision>
               <!--Optional:-->
               <LeftLongitude>?</LeftLongitude>
               <!--Optional:-->
               <WKID>?</WKID>
               <!--Optional:-->
               <LatestWKID>?</LatestWKID>
               <!--Optional:-->
               <VCSWKID>?</VCSWKID>
               <!--Optional:-->
               <LatestVCSWKID>?</LatestVCSWKID>
            </SpatialReference>
            <!--Optional:-->
            <Format>?</Format>
            <!--Optional:-->
            <FormatProperties>
               <PropertyArray>
                  <!--Zero or more repetitions:-->
                  <PropertySetProperty>
                     <Key>?</Key>
                     <!--Optional:-->
                     <Value>?</Value>
                  </PropertySetProperty>
               </PropertyArray>
            </FormatProperties>
         </Options>
         <!--Optional:-->
         <EnvironmentValues>
            <PropertyArray>
               <!--Zero or more repetitions:-->
               <PropertySetProperty>
                  <Key>?</Key>
                  <!--Optional:-->
                  <Value>?</Value>
               </PropertySetProperty>
            </PropertyArray>
         </EnvironmentValues>
      </ns:Execute>
   </soapenv:Body>
</soapenv:Envelope>

 

My imput patrameter is call "json_string", how i can compile the xml into Values section to test the service in SOAP UI?

 

Thanks

Outcomes