Support Article
Capture inbound SOAP request for Pega SOAP Service
SA-34802
Summary
The user wants to capture the inbound SOAP Envelope for Pega SOAP Service for the auditing purpose. When the SOAP service is configured to execute in synchronous mode, the SOAP request is available in the clipboard property ''pxRequestor.pxReqSOAPEnvelope'. When the SOAP Service is executed in the asynchronous mode, the 'pxRequestor.pxReqSOAPEnvelope' property is empty.
Error Messages
Not Applicable
Steps to Reproduce
- Create Asynchronous SOAP Service in Pega.
- Call SOAP Service from external client.
- In the activity that is called SOAP service, check the value for the property 'pxRequestor.pxReqSOAPEnvelope'
Root Cause
A defect in Pegasystems’ code or rules. Since asynchronous call is executed by batch requestor context, value is not available. with the HFix, SOAP Envelope is passed between requestor context using parameter 'param.pxReqSOAPEnvelope'
Resolution
Apply HFix-32199
For Synchronous SOAP Service, use 'pxRequestor.pxReqSOAPEnvelope' in the activity that SOAP Service invokes.
For Asynchronous SOAP Service, use 'param.pxReqSOAPEnvelope' in the activity that SOAP Service invokes.(param is only available in the first activity that SOAP service invokes).
Published March 10, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.