What are Transport methods in SOAP? - SOAP

What are transport methods in SOAP?

1. Different application running on different types of operating systems and using different technologies.
2. Example : To find company details, a SOAP request GetCompanyDetail() is sent to the server with the company id as the parameter. In response, details of company are returned via XML.

SOAP request
<?xml version="1.0"?>
<soap:Body xmlns:m="http://www.example.org/ company ">
<m: GetCompanyDetail >
<m:CompanyID>1234></m:CompanyID >
</m: GetCompanyDetail >

SOAP response
<?xml version="1.0"?>
<soap:Body xmlns:m="http://www.example.org/company">
<m: GetCompanyDetailResponse>
</m: GetCompanyDetailResponse >

What are Transport methods in SOAP?

Application layer and transport layers of a network are used by SOAP. SMTP and HTTP are the valid application layer protocol uses as transport for SOAP. Wider acceptance is gained by HTTP, as it works better with the current internet infrastructure, especially with firewalls.
Role of XML in SOAP - SOAP
XML is used as the common format for data in cross platform applications. This file is used for representing message for communication...
Elements that should be contained in SOAP message? - SOAP
The following are contained in SOAP messages: Envelope, Header, Body, Fault element......
What is SOAP Envelope element? - SOAP
SOAP envelope element is the root element used to define the XML document as a SOAP message.......
Post your comment