RPA | A2019 SOAP Command/Package| Automation Anywhere - Part-28
A2019 SOAP Command - SOAP command is mainly used to access and exchange information between two systems in an XML format. Further in detail we will be discussing how we can use this action/package using A2019 Automation Anywhere.
As the name suggests, SOAP or Simple Object Access Protocol is a terminology which is used to exchange information between two systems in an XML format. To use this command, we need to install the SOAP package from Bots->My bots and packages section.
By using the SOAP web service command or action we can:
- Consume SOAP web services written to provide structured data for further business processing such as conversion of currency, weather reports and language translation.
- Connect to different existing applications and different platforms irrespective of the underlying infrastructure requirements.
By using the SOAP web service we can establish complete interoperability between clients or applications and the internet, to support XML based open standards such as Web Services Description Language (WSDL), Simple Object Access Protocol (SOAP) and Universal Description Discovery and Integration (UDDI).
Now we will see how to use the SOAP command or action using A2019 Automation Anywhere with the help of an example.
To use the SOAP web service in A2019 Automation Anywhere follow the steps as mentioned below:-
- Drag and drop the SOAP web service command.
- In the connect to WSDL by pass in the URI i.e. "http://dneonline.com/calculator.asmx?WSDL".
- Then, in the service field pass in the service that you want to use so in this example I am taking the calculator as the service name that is present in the WSDL file located online.
- Then give the port name present in the WSDL file so in this example we have taken CalculatorSoap as the port name.
- Then select the SOAP version i.e. 1.1 or 1.2. In this example I am taking 1.1 as the SOAP version.
- After selecting the SOAP version, specify the operation that you want to perform i.e. for this example we have taken the multiplication operation.
- Specify the parameters details if required so we have specified two parameters i.e. intA and intB and initialized both these parameters with the default value i.e. 20 and 40.
- Select the authentication mode if any otherwise select No Authentication mode. In total we have two authentication modes available i.e. No Authentication and Basic authentication mode available.
- Save the output in an XML format file. To save the XML file specify the location where you want to save the XML file.
- We have two options available under the response scope i.e. complete response and the selected response. In the selected response option we need to pass the xpath expression. So the xpath expression in our case or scenario looks something like this "//*[local-name()='MultiplyResult']", in the select XML output we have three options available i.e. values, inner XML, outer XML, specify the delimiter if applicable else select none in the delimiter field and store the output in a string variable data type. In the complete response method specify the location of the XML file where it is to be saved and store the output in a string variable data type.
- To check the output use the message box action or command to display the output.
Here is the code snippet for the same i.e. how to use SOAP web service using A2019 Automation Anywhere.
So that's all about how to use the SOAP web service action or package using A2019 Automation Anywhere. So please share your views about how you find this information regarding SOAP web service in the comment section and if you have any queries related to this article you can send in your queries and I will be more than happy to answer your queries.
Glad to visit this blog, really helpful. Gathered lots of information and waiting to see more updates.
ReplyDeleteRPA course in Chennai
RPA Training Institute in Chennai
RPA Online course
RPA Training in Coimbatore