SOAP Requests with Postman header

Postman is a clean, easy-to-use REST client, but it also works well for sending SOAP message via HTTP. Configuring Postman for a SOAP request is similar to a REST configuration.

It might help if you already understand:

- Sending REST API requests with Postman


For the purpose of this walkthrough we’ll use a mock company called Robot Lenders. We will send a SOAP request, or message, containing applicant information for a loan pre-qualification.


We’ll submit a POST request to the Robot Lenders API using the following URL and endpoint: of

Sample VERB and URL in Postman interface

HTTP Headers

Next we’ll set the HTTP headers (not to be confused with headers in the SOAP envelope).

Let’s set the header. Below the URL:

  1. Click on
  2. Check
  3. Select
Example of how to select raw data type

By selecting Postman automatically adds a header with the value .

Example of a Content-Type header

Now we’ll take a look at the header. This seems to be point of confusion for developers working with SOAP APIs… and for good reason.

Read more about SOAPAction in this article by Mark Baker.

Read about using SOAPAction in the comments in the Postman Blog.

In our example, if we send the request without a header we may get an error: Though our example does not require a specific it will fail if we leave the header out completely, so we have to include the header and enter a value of (an empty string).

Example of a SOAPAction header

If you are not familiar a SOAP Message, check out: Anatomy of a SOAP Message.

The Body

Click on and enter the XML/text body.

Example of a SOAP request body

We should be ready. Let’s fire off our request by hitting

Important: You should be aware this is a mock demonstration and not a working API. Entering the data from this tutorial into Postman will not produce results. Apply these principals to your real data and API

Example of headers and Send button


If our response is a success we’ll see: (below the request body in the upper right corner of the response section)…

Sample successful response code

… and the response may be something like this:

Sample successful response

As we can see the loan was pre-approved and we received an account number and amount in the params.


If our response is not successful we may see something like

Sample response code error

… and the response may be something like this:

Sample response error message


  1. Remember that even if a specific is not required by the API, the header may still be necessary for the request to work.
  2. If you are using a timestamp, be sure it meets the specs from the API docs. Check that it is set to GMT and on a 24 hour cycle (i.e. if it’s afternoon, it should read 15:30, not 3:30).
  3. Also, make sure the timestamp is current. Timestamps are used to ensure the request is current and the request may be denied if the timestamp is even a few minutes old.
  4. If you are using a nonce, make sure it is unique with each request.
  5. Check the SOAP message format.
  6. Ensure that the schema URLs are correct.
  7. 99% of my errors are typos and incorrect spelling.

We hope this helps!

Please feel free to leave kind comments, suggestions, corrections and better solutions!

Software developer. Turing School alum.