> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt. For full content including API reference and SDK examples, see https://learning.postman.com/llms-full.txt.

# Make HTTP calls using the SOAP protocol

Postman can make HTTP calls using Simple Object Access Protocol (SOAP), a platform-independent messaging protocol specification. In this example, the SOAP endpoint validates an ISBN book number.

For more SOAP request examples, see Postman's [Public SOAP APIs](https://www.postman.com/cs-demo/public-soap-apis/overview) collection.

## Enter your SOAP endpoint

1. In Postman, click the <img alt="Menu icon" src="https://assets.postman.com/postman-docs/aether-icons/descriptive-menu-stroke.svg#icon" width="16px" /> **Development tab**, then click <img alt="Add icon" src="https://assets.postman.com/postman-docs/aether-icons/action-add-stroke.svg#icon" width="16px" /> and create a new HTTP request.
2. Enter your SOAP endpoint URL in the address field. For this example, use the `http://webservices.daehosting.com/services/isbnservice.wso` endpoint URL.
3. Select **POST** from the request method dropdown list.

## Add body data

1. In the **Body** tab, select **raw** and choose **XML** from the dropdown list.

   ![SOAP body type](https://assets.postman.com/postman-docs/v11/soap-body-type-v11-46.jpg)

2. Enter your XML in the text entry area. To validate the book number, enter the following XML:

   ```xml
   <?xml version="1.0" encoding="utf-8"?>
   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
       <soap:Body>
           <IsValidISBN10 xmlns="http://webservices.daehosting.com/ISBN">
               <sISBN>0-19-852663-6</sISBN>
           </IsValidISBN10>
       </soap:Body>
   </soap:Envelope>
   ```

   Your request body must include the SOAP `Envelope`, `Header`, and `Body` tags as required by the endpoint, and any namespaces. The data must include the name of the operation and any values you need to post to the service.

## Set your request headers

When you select an XML body type, Postman automatically adds a content type header of `application/xml`. But depending on your service provider, you may need `text/xml` for some SOAP requests. Check with your SOAP service to decide which header is appropriate. If you need the `text/xml` header, override the default Postman setting.

To set request headers, do the following:

1. Click **Headers** in the request. If the auto-generated headers are hidden, click **hidden** to display them.
2. Clear the `Content-Type` header checkbox.
3. Add a new `Content-Type` and `text/xml` key-value pair.
4. Add the `SOAPAction` and `"#MethodName"` key-value pair (for example, `"#POST"`).

   ![SOAP content type](https://assets.postman.com/postman-docs/v11/soap-header-v11-46.jpg)

## Send your request

Click **Send** to make your call to the SOAP service. On success, Postman displays the response in the lower tab.

![SOAP response data](https://assets.postman.com/postman-docs/v11/soap-response-data-v11-46.jpg)