Making SOAP requests

Many people think of Postman as an advanced REST client. Beyond REST, Postman is a tool that handles any calls sent over HTTP. This means that you can use Postman to interact with protocol-agnostic APIs - such as SOAP and GraphQL, which can both utilize HTTP, just like REST.

To make SOAP requests using Postman:

  1. Give the SOAP endpoint as the URL. If you are using a WSDL, then give the path to the WSDL as the URL.
  2. Set the request method to POST.
  3. Open the raw editor, and set the body type as "text/xml".
  4. In the request body, define the SOAP Envelope, Header and Body tags as required. Start by giving the SOAP Envelope tag, which is necessary, and define all the namespaces. Give the SOAP header and the body. The name of the SOAP method (operation) should be specified in the SOAP body.

Check out the Postman blog, Postman makes SOAP requests too, and try it out in Postman with this example template.

soap template