1 / 14

SOAP TECHNOLOGY

SOAP TECHNOLOGY. What is SOAP ? SOAP is a simple, lightweight XML protocol for exchanging exchanging structured and typed information on the Web Extensible No application semantics and no transport semantics. Who is drafting SOAP ?.

anitahall
Télécharger la présentation

SOAP TECHNOLOGY

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 TECHNOLOGY What is SOAP ? • SOAP is a simple, lightweight XML protocol for exchanging exchanging structured and typed information on the Web • Extensible • No application semantics and no transport semantics

  2. Who is drafting SOAP ? • UserLand, Ariba, CommerceOne, Compaq, Developmentor, HP, IBM, IONA, Lotus, Microsoft, SUN and SAP. • SOAP specification v1.1 already a W3C standard. v1.2 has recently been submitted.

  3. Why SOAP? • Important need in Internet application development to allow communication between apps. • The politics of serialization : Several large factions each loyal to its own particular RPC ( remote procedure call ) protocol - DCOM, CORBA , Java RMI • SOAP addresses the interoperability issue at the data serialization level

  4. Bringing down the walls • These systems could interact using bridges but they add costs and hurt performance. • Made decisions to standardize on one or the other ; then used message-oriented middleware for integration. • If Web browsers can, why not remote services? • SOAP - simplicity, flexibility, platform-neutrality and text-based.

  5. RPC revisited • SOAP - a standard way of serializing the info. needed to invoke remote services into a formatand transported across the wire, then recreated at destination. • To understand SOAP better : a look at DCOM’s RPC architecture. • Primary design goal of DCOM was “location transparency”.

  6. DCOM Architecture • Location transparency in DCOM using the proxy/stub architecture. DCOM uses the NDR serialization scheme. • SOAP uses XML to structure the data serialization.

  7. SOAP and...HTTP ?! • More than a data serialization format to do real RPC….transfer messages to the server and return the response. • DCOM and CORBA are incompatible when addressing endpoints, activating remote objects... • HTTP most conducive Internet Protocol for RPC via SOAP msgs : -URLs,Synch. Blocking, Scalable ,Secure

  8. The Firewall blues • DCOM and CORBA IIOP not firewall friendly, use oddly-numbered ports etc. • HTTP traffic over port 80 usually can talk through firewalls. • SOAP messages treated as a new MIME type to be carried in a HTTP payload : so HTTP headers indicate packet has SOAP request , better firewall control.

  9. SOAP building block

  10. SOAPBuilding block ( cont’d ) • A SOAP message is an ordinary XML document. • The XML document contains the following XML elements: • - A SOAP envelope , defines message content • - A SOAP header(optional), contains header information • - A SOAP body, that contains call and response information

  11. A SOAP Example • A SOAP request embedded in an HTTP Request: • <SOAP-ENV:Envelope> • < SOAP-ENV:Body> • <xmlns:m=“http://www.stock.org/stock”/> • < m:GetStockPrice> • < StockName>IBM</StockName> • </m:GetStockPrice> • </SOAP-ENV:Body> • </SOAP-ENV:Envelope>

  12. A SOAP Example (Cont’d ) • A SOAP response embedded in an HTTP Response • <SOAP-ENV:Envelope> • < SOAP-ENV:Body> • <xmlns:m=“http://www.stock.org/stock”/> • < m:GetStockPriceResponse> • < StockName>113.81</StockName> • </m:GetStockPriceResponse> • </SOAP-ENV:Body> • </SOAP-ENV:Envelope>

  13. SOAP Summary • SOAP is • - a lightweight comm. protocol • - is based on XML • - designed to communicate via HTTP • - not tied to any component technology or programming language. • - simple and extensible • - a W3C standard

  14. Thankyou!

More Related