380 likes | 918 Views
WEB SERVICES. Mahmoud Rabie – EGJUG 2006. AGENDA. Examples. Situation. Service Oriented Arch. The world before. Problems. W EB SERVICES. Solutions. Probs. with Curr. sols. Motiv. for Web Services. Fund. Of Web Services. +ve and -ve of Web Services. Web Services Solution.
E N D
WEBSERVICES Mahmoud Rabie – EGJUG 2006
AGENDA Examples Situation Service Oriented Arch. The world before Problems WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
AGENDA Situation The world before Problems WEB SERVICES Solutions Mahmoud Rabie Mahmoud - EGJUG 2006
The World Before Web Services Situation Java The world before SystemA Problems Windows Org B Org A WEB SERVICES .NET Solutions .NET SystemA Windows SystemB Windows C++ C++ SystemC Linux SystemB Linux Mahmoud Rabie Mahmoud - EGJUG 2006
The World Before Web Services Situation • Problems • Different types of platforms • Different types of programming languages • Solution • Create bridge Java The world before SystemA Problems Windows Org B Org A WEB SERVICES .NET Solutions .NET SystemA Windows SystemB Windows System A PL A Platform A System B PL B Platform B C++ C++ SystemC Bridge Linux SystemB Linux Mahmoud Rabie Mahmoud - EGJUG 2006
The World Before Web Services Situation Another Better Solutions Java The world before SystemA Windows ٌRMI Org B Org A EDI WEB SERVICES .NET Solutions .NET ebXML Solutions SystemA Windows SystemB Windows C++ C++ CORBA COM SystemC Linux SystemB Linux Mahmoud Rabie Mahmoud - EGJUG 2006
AGENDA Situation The world before Problems WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
Problems with current solutions Situation • Involve a whole learning curve • Not based on standardized rules and specifications The world before Problems WEB SERVICES Solutions Module A Module B CORBA X Probs. with Curr. sols. CORBA Motiv. for Web Services CORBA Module C Web Services Solution Module A Module B RMI Mahmoud Rabie Mahmoud - EGJUG 2006
Web Services Provide Situation Standardized method of communication between software applications The world before Problems WEB SERVICES Solutions Distributed components are interfaced via non-object-specific protocols Probs. with Curr. sols. Motiv. for Web Services Module A Module B Web Services Solution C++ Java Mahmoud Rabie Mahmoud - EGJUG 2006
AGENDA Situation The world before Problems WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
+ve and –ve of Web Services Situation Advantages of web services The world before Problems Web services provide interoperability between various software applications running on disparate platforms/operating systems Web services use open standards and protocols By utilizingHTTP, web services can work through many commonfirewallsecurity measures without requiring changes to the firewall filtering rules. Other forms ofRPCmay more often be blocked WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
+ve and –ve of Web Services Situation Advantages of web services The world before Problems Web services allow software and services from different companies and locations to be combined easily to provide an integrated service. Web services allow the reuse of services and components within an infrastructure. Web services areloosely coupledthereby facilitating a distributed approach to application integration. WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
+Ve and –Ve of Web Services Situation Disadvantages of web services The world before Problems Web services standards features such as transactions are currently nonexistent or still in their infancy compared to more mature distributed computing open standards such as CORBA. Web services may suffer from poor performance compared to other distributed computing approaches such as RMI, CORBA, or DCOM. WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
AGENDA Situation The world before Problems WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Definition A web service is a programmable component that provides a service and is accessible over the Internet. Situation The world before Problems Network WEB SERVICES Client Solutions Instance Component Probs. with Curr. sols. Client Instance Motiv. for Web Services Fund. Of Web Services Client +ve and -ve of Web Services Web Services Solution Instance Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Web services stack Situation The world before Problems WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Web services stack Situation The world before Problems Service & Information Layer WEB SERVICES Types Solutions Message Operation Service Implementation Probs. with Curr. sols. Port Type Motiv. for Web Services Binding Fund. Of Web Services +ve and -ve of Web Services Port Web Services Solution Web Service Interface (WSDL) Service Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Web services stack Situation The world before Problems Service & Information Layer Example <message name="getTermRequest"> <part name="term" type="xs:string"/> </message> <message name="getTermResponse"> <part name="value" type="xs:string"/> </message> <portType name="glossaryTerms"> <operation name="getTerm"> <input message="getTermRequest"/> <output message="getTermResponse"/> </operation></portType> WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
SOAP Fundamentals of Web Services Web services stack Situation The world before Problems Packaging Layer Simple Object Access Protocol (SOAP) is a lightweight protocol designed for the exchange of information WEB SERVICES Solutions Defines a modular packaging model and the encoding mechanisms for encoding data within modules. Probs. with Curr. sols. Envelope Motiv. for Web Services Encoding rules Fund. Of Web Services +ve and -ve of Web Services Web Services Solution RPC representation Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Web services stack Situation The world before Problems Packaging Layer <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"SOAP-ENV:encodingStyle= 'http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header>A2B Header</SOAP-ENV:Header> <SOAP-ENV:Body> <SubmitEventRequest> <Source>Copier54321</Source> <Description> MotorFailure </Description> </SubmitEventRequest> </SOAP-ENV:Body></SOAP-ENV:Envelope> WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Web services stack Situation The world before Problems Protocol Layer Any of the standard Internet protocols may be used to invoke web services over the network. WEB SERVICES Solutions The initial definition focuses specifically on HTTP/1.1 and the encrypted HTTPS Probs. with Curr. sols. Motiv. for Web Services FTP and SMTP can also be used Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
AGENDA Situation Service Oriented Arch. The world before Problems WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006
Service Oriented Arch. Situation It's an architectural style of building software applications that promotes loose coupling between components so that you can reuse them Service Oriented Arch. The world before Problems WEB SERVICES Solutions Probs. with Curr. sols. Motiv. for Web Services Fund. Of Web Services +ve and -ve of Web Services Web Services Solution Mahmoud Rabie Mahmoud - EGJUG 2006