SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Simple Object access protocol
What is SOAP? Allows for application data transfer using HTTP XML based Platform Independent Allows you to get around firewalls
Why is it useful? Allows internet communication between programs. HTTP was not built for RPC Can communicate to applications on different Operating Systems, technologies, and programming languages
Syntax Must  Use XML SOAP Envelope Namespace SOAP Encoding Namespace Must Not Include DTD reference XML processing instructions
Important elements Envelope <soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope" Header soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> Body Contains the actual SOAP message Fault Must appear as a child element of the body Can only appear once in a SOAP message
Example Code Using the Google API with Python http://www.intertwingly.net/stories/2002/12/20/sbe.html w3Schools Example http://w3schools.com/soap/soap_example.asp
Resources w3Schools.com www.intertwingly.net
Q&A

Weitere ähnliche Inhalte

Was ist angesagt?

SOAP:Simple Object Access Protocol -XML-RPC
SOAP:Simple Object Access Protocol-XML-RPCSOAP:Simple Object Access Protocol-XML-RPC
SOAP:Simple Object Access Protocol -XML-RPCelliando dias
 
XML-RPC (XML Remote Procedure Call)
XML-RPC (XML Remote Procedure Call)XML-RPC (XML Remote Procedure Call)
XML-RPC (XML Remote Procedure Call)Peter R. Egli
 
jkljklj
jkljkljjkljklj
jkljkljhoefo
 
WebService-Java
WebService-JavaWebService-Java
WebService-Javahalwal
 
Json-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the webJson-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the webkriszyp
 
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsIdo Flatow
 
The Full Power of ASP.NET Web API
The Full Power of ASP.NET Web APIThe Full Power of ASP.NET Web API
The Full Power of ASP.NET Web APIEyal Vardi
 
Sending mail,web services
Sending mail,web servicesSending mail,web services
Sending mail,web servicesDevang Patel
 
Web services Concepts
Web services ConceptsWeb services Concepts
Web services Conceptspasam suresh
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonAdnan Masood
 
Enjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web APIEnjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web APIKevin Hazzard
 
Interoperable Web Services with JAX-WS
Interoperable Web Services with JAX-WSInteroperable Web Services with JAX-WS
Interoperable Web Services with JAX-WSCarol McDonald
 

Was ist angesagt? (20)

SOAP:Simple Object Access Protocol -XML-RPC
SOAP:Simple Object Access Protocol-XML-RPCSOAP:Simple Object Access Protocol-XML-RPC
SOAP:Simple Object Access Protocol -XML-RPC
 
Web Service
Web ServiceWeb Service
Web Service
 
XML-RPC (XML Remote Procedure Call)
XML-RPC (XML Remote Procedure Call)XML-RPC (XML Remote Procedure Call)
XML-RPC (XML Remote Procedure Call)
 
SOAP-based Web Services
SOAP-based Web ServicesSOAP-based Web Services
SOAP-based Web Services
 
jkljklj
jkljkljjkljklj
jkljklj
 
WebService-Java
WebService-JavaWebService-Java
WebService-Java
 
Json-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the webJson-based Service Oriented Architecture for the web
Json-based Service Oriented Architecture for the web
 
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP FundamentalsASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
 
Web Services
Web ServicesWeb Services
Web Services
 
Soap and Rest
Soap and RestSoap and Rest
Soap and Rest
 
The Full Power of ASP.NET Web API
The Full Power of ASP.NET Web APIThe Full Power of ASP.NET Web API
The Full Power of ASP.NET Web API
 
Sending mail,web services
Sending mail,web servicesSending mail,web services
Sending mail,web services
 
Web services Concepts
Web services ConceptsWeb services Concepts
Web services Concepts
 
Soap
SoapSoap
Soap
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural Comparison
 
Web services - REST and SOAP
Web services - REST and SOAPWeb services - REST and SOAP
Web services - REST and SOAP
 
Enjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web APIEnjoying the Move from WCF to the Web API
Enjoying the Move from WCF to the Web API
 
Day01 api
Day01   apiDay01   api
Day01 api
 
Interoperable Web Services with JAX-WS
Interoperable Web Services with JAX-WSInteroperable Web Services with JAX-WS
Interoperable Web Services with JAX-WS
 
Webservice Testing
Webservice TestingWebservice Testing
Webservice Testing
 

Ähnlich wie Simple object access protocol

Ähnlich wie Simple object access protocol (20)

Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
C# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENTC# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENT
 
Soap xp-wg
Soap xp-wgSoap xp-wg
Soap xp-wg
 
Xml+messaging+with+soap
Xml+messaging+with+soapXml+messaging+with+soap
Xml+messaging+with+soap
 
Soap.doc
Soap.docSoap.doc
Soap.doc
 
Scripting in OpenOffice.org
Scripting in OpenOffice.orgScripting in OpenOffice.org
Scripting in OpenOffice.org
 
Web Service
Web ServiceWeb Service
Web Service
 
Web services for developer
Web services for developerWeb services for developer
Web services for developer
 
Lecture 3 soap
Lecture 3 soapLecture 3 soap
Lecture 3 soap
 
Lecture 3 soap
Lecture 3 soapLecture 3 soap
Lecture 3 soap
 
Advanced soa and web services
Advanced soa and web servicesAdvanced soa and web services
Advanced soa and web services
 
Web Services
Web ServicesWeb Services
Web Services
 
SOA and web services
SOA and web servicesSOA and web services
SOA and web services
 
Xml messaging with soap
Xml messaging with soapXml messaging with soap
Xml messaging with soap
 
Xml Messaging With Soap
Xml Messaging With SoapXml Messaging With Soap
Xml Messaging With Soap
 
Xml messaging with soap
Xml messaging with soapXml messaging with soap
Xml messaging with soap
 
Xm Lmessagingwith Soap
Xm Lmessagingwith SoapXm Lmessagingwith Soap
Xm Lmessagingwith Soap
 
11 asp.net web api
11 asp.net web api11 asp.net web api
11 asp.net web api
 
web services
web servicesweb services
web services
 
soap toolkit
soap toolkitsoap toolkit
soap toolkit
 

Simple object access protocol

  • 2. What is SOAP? Allows for application data transfer using HTTP XML based Platform Independent Allows you to get around firewalls
  • 3. Why is it useful? Allows internet communication between programs. HTTP was not built for RPC Can communicate to applications on different Operating Systems, technologies, and programming languages
  • 4. Syntax Must Use XML SOAP Envelope Namespace SOAP Encoding Namespace Must Not Include DTD reference XML processing instructions
  • 5. Important elements Envelope <soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope" Header soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> Body Contains the actual SOAP message Fault Must appear as a child element of the body Can only appear once in a SOAP message
  • 6. Example Code Using the Google API with Python http://www.intertwingly.net/stories/2002/12/20/sbe.html w3Schools Example http://w3schools.com/soap/soap_example.asp
  • 8. Q&A