function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jpatel@alternajpatel@alterna 

Where is log stored for outgoing SOAP request envelope?

In our application we make call to external SOAP API. We want to see the Raw SOAP request envelope that sent out. Where can we look for this in our org?
Raj VakatiRaj Vakati
Are you talking about the outbound message or SOAP API calls ?
jpatel@alternajpatel@alterna
I am sending a soap requset to some external webservice. I just want to view my raw soap message. How/where can i find that?
jpatel@alternajpatel@alterna
for example, here is my call out....and I want to see what is in the requset_x. I want to see it as a raw SOAP if possible.

WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              'http://test-uri/soap/export/getUsers',
              'http://test-uri/soap/export/',
              'getUsers',
              'http://test-uri/soap/export/',
              'getUsersResponse',
              'testUriSoapExport.getUsersResponse_element'}
            );


 
Raj VakatiRaj Vakati
Open you WSDL file you can able to find or from the stub class 
jpatel@alternajpatel@alterna
can you please explain more details of what i have to do?
Raj VakatiRaj Vakati
Go to this class WebServiceCallout
Look up  for 
request_x   variable and you can able to find which class it was referencing and other details 
jpatel@alternajpatel@alterna
I know which instance of class it is coming from. But what I want is the Raw soap message that is in it.