[SalesForce] Capture Salesforce Outbound Message with a Java SOAP Listener

I would like to send the modified data on an object to an external system. For this I am thinking to use workflow based Outbound Message option. What I understand, the required endpoint url will be the SOAP web service url of the external system. That system will be in java in my case. But I am not able to figure out what will be web service structure (WSDL) so that SF would able to call. Can anybody please help me writing the web service in java?

Best Answer

http://requestb.in will let you see the XML that an outgoing message will send.

So basically you need to do the following:

  1. Add requestbin url in remote sites of your salesforce instance
  2. Get a requestb.in endpoint from requestbin website (click "Create a RequestBin")
  3. Specify the requestBin endpoint in your outgoing message
  4. Trigger your outgoing message (it's up to you how you do it)
  5. Check or "inspect" your requestBin

You should see the SOAP request content there.

Related Topic