+ Start a Discussion
IvarIvar 

View outgoing SOAP message

Hi everyone.

 

I have been trying to find this in the System Log but have found nothing. Can anyone tell me if they know of a way for me to read/capture the outgoing SOAP message generated by an Apex Class?

 

Regards,

Ivar

dnakonidnakoni

To see just the request/response info, set all your debug log filters to NONE, except Callouts, set that to INFO.

 

 

Hope that helps.

IvarIvar

Thanks for the suggestion Daniel.

 

This gives me a well detailed log of what happens in the salesforce "runtime" environment, but not the actual formatted soap message sent out.

 

The reason I need that message is for debugging purposes. I need to see if the reason my message is failing is because it comes from SF or if it will fail as well if I send the same message from another source.

 

Any ideas as to where I can see the actuall message in it's entiretly?

 

Regards,

Ivar

nick graynick gray

I couldnt figure out how to get this info in salesforce so what i did instead:

download and install soapui

import salesforce wsdl into a new soapui project

create a new mock service and start it

use that url in the salesforce outbound message action url field

execute the workflow and the message will appear in the soapui mock service

 

note that this requires that you can get an inbound message to your dev box which in most corporate environments is impossible.