web services architecture presentation for ece8813 spring 2003 by: mohamed mansour
TRANSCRIPT
![Page 1: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/1.jpg)
Web Services Architecture
Presentation for ECE8813Spring 2003By: Mohamed Mansour
![Page 2: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/2.jpg)
What is a Web Service
Any piece of software that makes itself available over the Internet and uses a standardized XML messaging system
![Page 3: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/3.jpg)
![Page 4: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/4.jpg)
Roles
Service Provider Service Requestor Discovery Agencies
![Page 5: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/5.jpg)
![Page 6: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/6.jpg)
Wire Protocol
Transport HTTP (or other Internet protocols)
Packaging SOAP (or other packaging protocols)
Extensions Context, routing, policy
![Page 7: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/7.jpg)
![Page 8: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/8.jpg)
![Page 9: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/9.jpg)
SOAP Example
<SOAP:Envelope xmlns:SOAP=http://schames.xmlsoap.org/soap/envelope/
<SOAP:Header>
<!– contents of header goes here -- >
</SOAP:Header>
<SOAP:Body>
<!– contents of body goes here -- >
</SOAP:Body>
![Page 10: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/10.jpg)
End-to-End Scenario
Requestor
SOAP run-time
SOAP message
Network Layer
HTTP Request
Server (Provider)
SOAP run-time
Network Layer
Deliver HTTP
Dispatch to appropriateruntime
![Page 11: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/11.jpg)
![Page 12: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/12.jpg)
Description Stack
Interface, Implementation Described in a WSDL (Web Service Description
Language) document Minimum layers for any web service
![Page 13: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/13.jpg)
Stack Components
![Page 14: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/14.jpg)
WSDL Example<message name="GetStockQuotesSoapIn"> <part name="parameters" element="s0:GetStockQuotes" /> </message>
<message name="GetStockQuotesHttpPostOut"> <part name="Body" element="s0:ArrayOfQuote" /> </message>
<portType name="StockQuotesSoap"> <operation name="GetStockQuotes"> <input message="s0:GetStockQuotesSoapIn" /> <output message="s0:GetStockQuotesSoapOut" /> </operation></portType>
![Page 15: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/15.jpg)
WSDL Example – contd.
<service name="StockQuotes"> <port name="StockQuotesSoap" binding="s0:StockQuotesSoap"> <soap:address location="http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx" /> </port></service>
![Page 16: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/16.jpg)
WSDL Example – contd.<binding name="StockQuotesSoap" type="s0:StockQuotesSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> <operation name="GetStockQuotes"> <soap:operation soapAction="http://swanandmokashi.com/GetStockQuotes" style="document" /> <input> <soap:body use="literal" /> </input> <output> <soap:body use="literal" /> </output> </operation></binding>
![Page 17: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/17.jpg)
WSDL Example – contd.
<service name="StockQuotes"> <port name="StockQuotesSoap" binding="s0:StockQuotesSoap"> <soap:address location="http://.... /> </port> <port name="StockQuotesHttpGet" binding="s0:StockQuotesHttpGet"> <http:address location="http://......" /> </port> <port name="StockQuotesHttpPost" binding="s0:StockQuotesHttpPost"> <http:address location="http://......" /> </port></service>
![Page 18: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/18.jpg)
Description Stack – contd. Policy
additional description to specify the business context, qualities of service, security requirements and offerings, and management requirements.
Presentation how to render the input and output messages on a screen for a
user to interact with. This is particularly useful for rendering Web services to users on many different types of devices.
Orchestration An orchestration description reflects a simple choreography of
Web service invocations between two business partners to complete a multi-step business interaction.
Composition Service Level Agreements Business Level Agreements
![Page 19: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/19.jpg)
![Page 20: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/20.jpg)
Discovery Stack
Publication Providers produce their service descriptions in a
UDDI document. Direct publish (ftp, CD-ROM, …) UDDI registry
Discovery Discovery methods parallel publication methods
Inspection Web Service Inspection Language (WSIL) a de-centralized, light weight method
![Page 21: Web Services Architecture Presentation for ECE8813 Spring 2003 By: Mohamed Mansour](https://reader035.vdocuments.us/reader035/viewer/2022062412/5a4d1b0f7f8b9ab05998e4fa/html5/thumbnails/21.jpg)
Resources
http://www.w3.org/TR/2002/ http://www.xmethods.com http://www.alphaworks.ibm.com/webservices http://www.microsoft.com/webservices http://java.sun.com/webservices http://www.borland.com/webservices