Skip to main content

Posts

Showing posts from October, 2019

Using Postman for calling a SOAP Web Service

So testing Web Services and REST APIs is not something that I have regularly spent a great deal of time doing (although I have done some). However, a change to a customers requirements meant that I had the opportunity to test a SOAP Web Service in a little more depth. Now I have used Postman to test Rest APIs but I had not used it to test SOAP Web Services. I wasn't sure If I could do it but I thought I would give it a go...  So in this post I will show how you can use Postman to test a SOAP Web Services via the postman UI and the sendRequest method. So what did I do? The service I will use for this blog post is one provided by W3schools which converted Celsius to Fahrenheit and Visa Versa. Here it is :)  https://www.w3schools.com/xml/tempconvert.asmx So first of all I had to work out how to call a SOAP Web Service using postman. So a quick look on the Postman web site and I found that I needed to:  Set the URL to be the Soap Endpoint  Set the request method to POST