SOAP stands for Simple Object Access Protocol. SOAP is a communication protocol designed to communicate through the internet. It is a platform-independent as well as language-independent.
This protocol is an XML based messaging protocol for exchanging information between computers through a network. It provides data transport for web services and applications. It can also be used to exchange a complete document or call a remote procedure.
Visit the link: http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL.
Then add an extension into the chrome called: Wizdler extension.
Once, you have added the extension into the chrome, open the above SOAP link again and then click on the extension.
Now, select any of the options under the CountryInfoService. I shall consider the first option, CapitalCity. As you click on the capital city, you must see the below details:
Now, change the
IN. (Country Code). And edit the code into the body of the request in Postman.
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Body> <CapitalCity xmlns="http://www.oorsprong.org/websamples.countryinfo"> <sCountryISOCode>IN</sCountryISOCode> </CapitalCity> </Body> </Envelope>
Now, click on the Send button in the POSTMAN and you should see a response like below, where IN has been changed into New Delhi.
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <m:CapitalCityResponse xmlns:m="http://www.oorsprong.org/websamples.countryinfo"> <m:CapitalCityResult>New Delhi</m:CapitalCityResult> </m:CapitalCityResponse> </soap:Body> </soap:Envelope>