Download presentation
Presentation is loading. Please wait.
Published bySergio Cosens Modified over 9 years ago
1
GROUP 3 Larry Gillis Eric Lam Cindy Lee Calvin Nguyen Evgeni Zlatanov
2
The Problem Interoperability between Internet applications Today there are countless different operating systems, different firewalls, different methods of making remote procedure calls, and different platforms. In order to interoperate across the Internet both the client and server need to understand each others security types and trusts, service deployment schemas, and implementation details. Remote objects can give a program lots of power over the Internet, but most firewalls block non-HTTP requests.
3
The Goal The goal is a world where you can access objects and services on remote (or local) servers in a platform-independent manner.
4
The Solution SOAP bridges the gap between competing object RPC (Remote Procedure Calls) technologies and provides a light-weight messaging format that works with any operating system, any programming language, and any platform. SOAP is able to provide intraprocess communication across machines. It gets around the limitations of firewalls remote objects face when sending non-HTTP requests.
5
Overview Introduction Introduction Brief History Brief History 3 Main Components 3 Main Components SOAP Skeleton SOAP Skeleton Demonstration (SOAP Request/Response) Demonstration (SOAP Request/Response) SOAP & MC365 Final Projects SOAP & MC365 Final Projects Conclusion Conclusion Q&A | Additional Resources Q&A | Additional Resources
6
Introduction What is SOAP? SOAP defines the use of XML and HTTP to access services, objects, and servers in a platform-independent manner. SOAP defines the use of XML and HTTP to access services, objects, and servers in a platform-independent manner. SOAP offers a mechanism for bridging competing technologies in a standard way. The main goal of SOAP is to facilitate interoperability. SOAP offers a mechanism for bridging competing technologies in a standard way. The main goal of SOAP is to facilitate interoperability.
7
Brief History A group of industry leaders including Compaq, HP, IBM, IONA, Lotus, Microsoft, and SAP proposed to W3C, in May 2000, the SOAP Internet protocol that they hope will revolutionize application development by connecting GUI desktop applications to powerful Internet servers using the standards of the Internet, HTTP and XML.
8
3 Main Components The SOAP envelope construct defines an overall framework for expressing what is in a message; who should deal with it, and whether it is optional or mandatory. The SOAP encoding rules defines a serialization mechanism that can be used to exchange instances of application-defined data types. The SOAP RPC representation defines a convention that can be used to represent remote procedure calls and responses.
9
SOAP Skeleton <soap:Envelope xmlns:soap=http://www.w3.org/2001/12/soap-envelope http://www.w3.org/2001/12/soap-envelope soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"><soap:Header>...</soap:Header><soap:Body>...<soap:Fault>...</soap:Fault></soap:Body></soap:Envelope>
10
SOAP Skeleton Simple Example MESSAGE <soap:Envelope xmlns:soap=http://www.w3.org/2001/12/s oap-envelope http://www.w3.org/2001/12/s oap-envelopehttp://www.w3.org/2001/12/s oap-envelope soap:encodingStyle="http://www.w3.org/20 01/12/soap-encoding"> <soap:Header> Star Wars Star Wars </soap:Header><soap:Body><p:day>Wednesday</p:day> 7 p.m-12 a.m. 7 p.m-12 a.m. </soap:Body></soap:Envelope>RESPONSE <soap:Envelope xmlns:soap=http://www.w3.org/2001/12/ soap-envelope http://www.w3.org/2001/12/ soap-envelopehttp://www.w3.org/2001/12/ soap-envelope soap:encodingStyle="http://www.w3.org/2 001/12/soap-encoding"> <soap:Header> Star Wars Star Wars </soap:Header><soap:Body><p:day>Wednesday</p:day> 12 a.m. 12 a.m. </soap:Body></soap:Envelope>
11
Demonstration Fire-and-forget SOAP message Stock Quotes BigCo 34.5 Simple SOAP messaging model Used by businesses to send automated messages and updates increase productivity, reduce costs, improve services
12
Demonstration GoogleSearch http://www.perfectxml.com/SOAPTestClient.asp http://www.perfectxml.com/articles/XML/TheXMLWe b.asp http://www.perfectxml.com/articles/XML/TheXMLWe b.asp License key = bCpSxv1QFHLwtI0PLyIO4+2gPqkLO2z8
13
Demonstration Message Exchange Patterns Simple Response/Response Sophisticated SOAP messaging One-way message One-way message Request/Response Request/Response Solicit/Response (the reverse of request/response) Solicit/Response (the reverse of request/response) Notifications Notifications Long running P2P conversations Long running P2P conversations
14
SOAP & MC365 Final Projects Group #1: BC Books – Eliminating the Middleman Group #4: “BC-Bay” http://www.perfectxml.com/SOAPTestClient.asp
15
SOAP & MC365 Final Projects Group #2 : Information repository – encryption/decryption A sender wishes to exchange data with a receiver and has agreed to encrypt the payload. The sending and receiving applications agree on the encryption methodology. Data is encrypted by the originating application and sent to the receiver via SOAP. The data reaches the receiving application untouched, and may then be decrypted in the agreed-upon manner.
16
SOAP & MC365 Final Projects Group #5 : Secure file transfer and messaging Two partners are engaged in a long-running process, which involves multiple message exchanges. http://www.w3.org/TR/xmlp-scenarios/
17
Conclusion Summary Simple Object Access Protocol Simple Object Access Protocol Communication Protocol Communication Protocol Communication between applications Communication between applications Format for sending messages Format for sending messages Designed to communicate via Internet Designed to communicate via Internet Platform independent Platform independent Language independent Language independent Based on XML Based on XML Simple and Extensible Simple and Extensible Get around Firewalls Get around Firewalls W3C standard W3C standard
18
Conclusion Benefits of SOAP Important for application development to allow Internet communication between programs Important for application development to allow Internet communication between programs Provides a way to communicate between applications running on different operating systems, with different technologies and programming languages Provides a way to communicate between applications running on different operating systems, with different technologies and programming languages
19
Q&A Additional Resources Any questions? Any questions? Additional Resources Additional Resources http://www.xmlfiles.com/articles/adam/soapsoup/default.asp http://www.xmlfiles.com/articles/adam/soapsoup/default.asp http://www.xmlfiles.com/articles/adam/soapsoup/default.asp http://www.microsoft.com/mind/0100/soap/soap.asp http://www.microsoft.com/mind/0100/soap/soap.asp http://www.microsoft.com/mind/0100/soap/soap.asp http://developer.java.sun.com/developer/technicalArticles/xml/webservices/ http://developer.java.sun.com/developer/technicalArticles/xml/webservices/ http://developer.java.sun.com/developer/technicalArticles/xml/webservices/ http://java.sun.com/webservices/docs/1.1/api/javax/xml/soap/package- summary.html http://java.sun.com/webservices/docs/1.1/api/javax/xml/soap/package- summary.html http://java.sun.com/webservices/docs/1.1/api/javax/xml/soap/package- summary.html http://java.sun.com/webservices/docs/1.1/api/javax/xml/soap/package- summary.html http://www.w3schools.com/soap/default.asp http://www.w3schools.com/soap/default.asp http://www.w3schools.com/soap/default.asp http://www.w3.org/TR/SOAP/ http://www.w3.org/TR/SOAP/ http://www.w3.org/TR/SOAP/
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.