Simple Object access protocol
What is SOAP?Allows for application data transfer using HTTPXML basedPlatform IndependentAllows you to get around firewalls
Why is it useful?Allows internet communication between programs.HTTP was not built for RPCCan communicate to applications on different Operating Systems, technologies, and programming languages
SyntaxMust Use XMLSOAP Envelope NamespaceSOAP Encoding NamespaceMust NotInclude DTD referenceXML processing instructions
Important elementsEnvelope<soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope"Headersoap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">BodyContains the actual SOAP messageFaultMust appear as a child element of the bodyCan only appear once in a SOAP message
Example CodeUsing the Google API with Pythonhttp://www.intertwingly.net/stories/2002/12/20/sbe.htmlw3Schools Examplehttp://w3schools.com/soap/soap_example.asp
Resourcesw3Schools.comwww.intertwingly.net
Q&A

Simple object access protocol