Discussion
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Synechron
US
Last activity: 30 Mar 2017 16:41 EDT
How to capture incoming Request XML for Service-SOAP
Hi,
We have Service-SOAP rules in Pega 7.1.8 which is being consumed by another application. I want to be able to log the incoming request xml for each invocation. When I trigger the service manually/SOAP UI, I can see request xml soap envelop on tracer if I keep tracer option "SOAP Envelop" enabled, but it shows up well before service activity starts execution. I want to be able to store this SOAP Envelop request.
Currently I am just using @getXMLOfPage(MyServicePage), but that logs entire page xml, which is not something that I am looking for.
I know that we can also enable logger and have these logged to pega logs but even thats not something I am looking for.
Any suggestions would be appreciated
***Updated by Moderator: Marissa - Thread has been archived for educational/information purposes. If you have a similar question, please select Write a Post and start a new thread for assistance. No information in thread will be updated.***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
could you please try a sibling method: @(Pega-RULES:Page).getXMLOfPageWithoutPageDataTag
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Coforge
AU
Hi
Complete request xml can be located at pxRequestor.pxReqSOAPEnvelope. Hope this helps to solve your problem
Thanks
Updated: 18 Feb 2016 18:09 EST
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/af2795e1-357d-4086-a961-3a2dce2cba84.png?itok=pDR5_k74)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/af2795e1-357d-4086-a961-3a2dce2cba84.png?itok=pDR5_k74)
IT
SK
It works for me on PRPC 6.3!
pxRequestor.pxReqSOAPEnvelope
This is fantastic, I was looking for it for a long time. Thank you, Bhaskar.
This is also strange: in 7.1.5 I logged entire pxRequestor and did not see the captured inbound XML.
@All
What version do you use and does the instruction from Bhaskar work for you?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Synechron
US
Thanks for your inputs
Updated: 18 Feb 2016 18:09 EST
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/af2795e1-357d-4086-a961-3a2dce2cba84.png?itok=pDR5_k74)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/af2795e1-357d-4086-a961-3a2dce2cba84.png?itok=pDR5_k74)
IT
SK
Do we have similar way to capture Request XML for Service-HTTP?
Cannot see it on pxRequestor.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
CGI
CA
Does
pxRequestor.pxReqSOAPEnvelope
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Bank Of America
US
I am also having the same issue with 7.1.9. Did you find a fix or alternative solution?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/af2795e1-357d-4086-a961-3a2dce2cba84.png?itok=pDR5_k74)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689963000/af2795e1-357d-4086-a961-3a2dce2cba84.png?itok=pDR5_k74)
IT
SK
works for me for SOAP Service (not for Connect SOAP), could you, describe the issue you are facing?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Wipro
IN
Hi,
I have a requirement to Save SOAP service response XML in Logs. we are using PEGA 7.2v
please advice how we can do it.
Thanks,
Adarsha M
This comment has been branched out as a new node and the new thread can be followed here
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Charles Schwab & Co., Inc.
US
I am also having this issue - the property pxRequestor.pxReqSOAPEnvelope does not exist in 7.2.2. Please advise.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
Pegasystems Inc.
US
Hi Stephen,
This is an older thread and I branched the comment above you into a new thread. Please see that thread for future assistance. I'm closing this one to future comments.
Thanks!