SOAP Overview Simple Object Access Protocol. CSCI 7818 - Topics in Software Engineering Web Infrastructure, Services, and Applications [email protected] September 26, 2001. SOAP in a nutshell .
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
“SOAP is a protocol specification for invoking methods on servers, services, components and objects. SOAP codifies the existing practice of using XML and HTTP as a method invocation mechanism. The SOAP specification mandates a small number of HTTP headers that facilitate firewall/proxy filtering. The SOAP specification also mandates an XML vocabulary that is used for representing method parameters, return values, and exceptions.” [DevelopMentor]
A simple SOAP XML document requesting the price of soap.
HTTP/1.1 200 OKContent-Type: text/xml; charset=“utf-8” SOAP HTTP Header infoContent-Length: nnnn<env:Envelope xmlns:env=http://www.w3.org/2001/06/soap-envelope”> <env:Body> <m:GetStockQuoteResponse xmlns:m=“Some-URI” env:encodingStyle=“http://www.w3.org/2001/06/soap-encoding”> <price>5.00</price> </m:GetStockQuoteResponse> </env:Body></env:Envelope>
“The first example shows a simple notification message expressed in SOAP. The message contains the header block "alertcontrol" and the body block "alert" which are both application defined and not defined by SOAP. The header block contains the parameters "priority" and "expires" which may be of use to intermediaries as well as the ultimate destination of the message. The body block contains the actual notification message to be delivered.”
<m:msg>Pick up Mary at school at 2pm</m:msg>