I developed an API callout to a SOAP webservice, the external system return me an error, how can i see XML file generated by a SOAP API callout?

  • 2
    Generate same request and use SoapUI to view the error message? Apr 16, 2018 at 13:32
  • 1
    the xml is generate by many function and i would see what SF sends when generate a collout. there is no way to see xml? Apr 17, 2018 at 7:42
  • If you want to see what request salesforce sends, then you can change endpoint to RequestBin or any other mocking service. It will let u view the request sent from sf Apr 17, 2018 at 7:44

1 Answer 1


You can hook your request to a mocking service like https://putsreq.com/ or requestbin.

They allow you to view the raw requests.

Make sure you insert that endpoint Remote site settings as well.

Once you do that and do a callout, you can inspect it at putreq website.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.