Skip to main content

Hello all,

 

Apologies if this has been asked before but couldn’t find anything specific when searching the forum.

I am working on an automation that needs to use SOAP Web Service to send a request to a service via WSDL. The automation i’ve developed scrapes a number of values that are must be included in the SOAP request from an web page and stores them as variables.   

I’m struggling to work out how to include the values within the SOAP web service action, the URI that I have been provided allows me to build the soap request and select the operation:

 

 

What I can’t work out is how to add the variables I need to pass into the request? below is a bit of a sample XML I was supplied from an order, below is a snippet of it:

<Address>

<PremisesName/>

<ThoroughfareNumber/>

<ThoroughfareName>01</ThoroughfareName>

<AddressLine2/>

<AddressLine3>High Road</AddressLine3>

<PostTown>Cambridge</PostTown>

<PostCode>CB11 1CA</PostCode>

<Country>UK</Country>

</Address>

 

I’m guessing I need to add the variables the bot is scraping the page in the parameters but not sure how to apply it? 

Any help on this one would be most appreciated!!  👍

 Maybe I can assist.

I’ve had to use SOAP for one call so far, and here is how I managed.

This may be different for however they accept the inputs.

 

First, create a list of parameter names and join them with a pipe symbol.

Then, do the same with the parameter values.

This is how I needed to then call the SOAP Web service:

SOAP request

Here is a snippet of how the XML schema looks.

xml schema

 


Hi,

 

Please, do you have an example about the values in the variables?

 

Because I have a situation where exists something like a sub-class. When I build the SOAP request, the AA select this sub-class like parameters and the parameters inside not is selected.

 

Example:

<soapenv:Body>

   <tem:Manifestacao>
        <tem:ChamadaManifestacao>

                  <wsd:usuario>test</wsd:usuario>

                  <wsd:senha>test</wsd:senha>

                  <wsd:code>test</wsd:code>

                  <wsd:number>test</wsd:number>

        </tem:ChamadaManifestacao>

   </tem:Manifestacao>

</soapenv:Body>

 

The AA build using “ChamadaManifestacao” like parameter instead of usuario, senha, code and number.

 

Thanks!


Reply