Viewing SOAP call generated from SOAP operator
search cancel

Viewing SOAP call generated from SOAP operator

book

Article ID: 219612

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

I need to view the actual SOAP call sent through the SOAP operator.  I can look at the completed process to see the parameters used to create the call but have a need to share the actual call with another team.

Environment

Release : 4.3

Component : SOAP Operator

Resolution

This information is not included in the log file (trace or no trace), but there are at least two options for capturing this type of data. 

Option 1: Save call file (Soap Operator input field)

The "Invoke SOAP Method" operator has a "Save call file" input field available in the "SOAP Call Data" page of the operator. The description for this input field is:
Specify a file to which to save the outbound SOAP Request. 

When providing a value, be sure to:

  • Surround it in quotation marks.
  • If saving it to a file on windows then be sure escape backslashes. Example: "C:\\testsoap.xml"

Here is example data put into the testsoap.xml file from the Soap Operator: 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<h:BasicAuth xmlns:h="http://soap-authentication.org/basic/2001/10/">
<Name>ServiceDesk</Name>
<Password>...</Password>
</h:BasicAuth>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<impl:login xmlns:impl="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<username>ServiceDesk</username>
<password>...</password>
</impl:login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Option 2: Wireshark

After capturing the packets using Wireshark you can use the "xml" filter to more quickly find the WebService API calls made from ITPAM.