1 / 13

SOAP

SOAP. Ashish V. Tendulkar Directory Database integration group (www.eusersolutions.com) Persistent Systems Pvt. Ltd. Pune (www.pspl.co.in). Outline. The problem.. Why XML? Why HTTP? XML+HTTP = SOAP SOAP Details Uses of SOAP Example. The problem. Proxy Server . Server .

loyal
Download Presentation

SOAP

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SOAP Ashish V. Tendulkar Directory Database integration group (www.eusersolutions.com) Persistent Systems Pvt. Ltd. Pune (www.pspl.co.in)

  2. Outline • The problem.. • Why XML? • Why HTTP? • XML+HTTP = SOAP • SOAP Details • Uses of SOAP • Example

  3. The problem.. Proxy Server Server Client App. Application Server Firewall

  4. Implications • Industry not shifted completely to either one • Vendor specific • Lack of interoperability • Require high-tech runtime environment

  5. Why XML? • Simple text markup language • Platform, language and vendor agnostic • Easily extensible • Capable of solving interoperability problem

  6. Why HTTP? • Ubiquitous • Supported by every web browser and server • Effective technology for transferring text, graphics and other information

  7. XML + HTTP = SOAP • HTTP is used for transport • XML as encoding scheme • Endpoint HTTP based URL for the target • Object mapping: implementation specific

  8. SOAP call anatomy

  9. HTTP Headers SOAP method name SOAP Envelope SOAP Header SOAP Body SOAP Component Object Endpoint ID Method/Interface ID Extension Headers Parameter Data Call element

  10. Uses of SOAP • SOAP greatly simplifies data exchange in B2B application over extranet • Enables web site to integrate services from other sites • Remote scripting more prevalent with SOAP • Non-browser client could seamlessly access a service across web

  11. Example Message POST /string_server/Object17 HTTP/1.1 Host: 209.110.197.2 Content-Type: text/xml Content-Length: 152 SOAPMethodName: urn:strings-com:IString#reverse <Envelope> <Body> <m:reverse xmlns:m='urn:strings-com:IString'> <theString>Hello, World</theString> </m:reverse> </Body> </Envelope>

  12. Example Response 200 OK Content-Type: text/xml Content-Length: 162 <Envelope> <Body> <m:reverseResponse xmlns:m='urn:strings- com:IString'> <result>dlroW ,olleH</result> </m:reverseResponse> </Body> </Envelope>

  13. Conclusion • SOAP is platform independent, language neutral protocol • SOAP does not replace COM and CORBA • SOAP works in place of DCOM and IIOP • SOAP does not pose huge security risks • Supports interoperation between different vendor specific implementations

More Related