How to import the WSDL of a SOAP Web Service in Postman

How to import the WSDL of a SOAP Web Service in Postman

For a long time, working with SOAP in Postman was not natively supported and you had to create all requests from scratch or copy-paste them from SoapUI. Now you can import a WSDL file in Postman and autogenerate a Postman collection. Let me show you how.

Step 1: Get the URL of the WSDL file

For this example, I will be using the Calculator Web Service available at http://www.dneonline.com/calculator.asmx. The WSDL file is, as expected, available at:

http://www.dneonline.com/calculator.asmx?WSDL

Make sure that you can successfully open the WSDL in your browser before proceeding to Postman.

Step 2: Importing the WSDL file in Postman

Open Postman and click on Import > Link and paste the link to the WSDL file. Click on Continue.

Finally, click on Import.

The collection will be added to your existing Postman collections. Feel free to rename it as needed.

Step 3: Submitting a request

The advantage of importing the WSDL file is that now all requests are available in Postman, including any examples. Open one of the requests and click on Send.

原文地址:https://www.cnblogs.com/chucklu/p/15718209.html