Soap request body using 'postman' chrome app Soap request body using 'postman' chrome app google-chrome google-chrome

Soap request body using 'postman' chrome app


Method needs to be POST and use http://www.holidaywebservice.com//HolidayService_v2/HolidayService2.asmx?wsdl as the URL.

You must include the following in the Headers:

Content-Type: text/xml; charset=utf-8

You can add SOAPAction in the headers but is not necessary for this web service request to work as the request body will specify which SOAP Method to use, 'GetHolidaysAvailable'.

SOAPAction: "http://www.holidaywebservice.com/HolidayService_v2/GetHolidaysAvailable"

Finally, the Body should look like this:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.holidaywebservice.com/HolidayService_v2/"> <SOAP-ENV:Body>   <ns1:GetHolidaysAvailable>     <ns1:countryCode>UnitedStates</ns1:countryCode>   </ns1:GetHolidaysAvailable> </SOAP-ENV:Body></SOAP-ENV:Envelope>


Your request could be something like this even:

POST /HolidayService_v2/HolidayService2.asmx/GetHolidaysAvailable HTTP/1.1    Host: www.holidaywebservice.comCache-Control: no-cacheContent-Type: application/x-www-form-urlencodedcountryCode=UnitedStates