Table of content

SOAP

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.

SOAP Request in POSTMAN

Visit the link: http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL.

postman-soap-url

Then add an extension into the chrome called: Wizdler extension.

postman-wizdler-extension

Once, you have added the extension into the chrome, open the above SOAP link again and then click on the extension.

postman-wsdl-extension-icon

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:

postman-city-info

Now, change the [string] into IN. (Country Code). And edit the code into the body of the request in Postman.

postman-request-body

<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>

add image...........................................................

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions