WEB SERVICES Mahmoud Rabie – EGJUG 2006
Mahmoud Rabie Mahmoud - 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
Mahmoud Rabie Mahmoud - EGJUG 2006 AGENDA Situation The world before Problems WEB SERVICES Solutions Mahmoud Rabie Mahmoud - EGJUG 2006
The World Before Web Services Mahmoud Rabie Mahmoud - EGJUG 2006 Situation Java The world before System A Problems Windows Org B Org A WEB SERVICES .NET Solutions .NET System A Windows System B Windows C++ C++ System C Linux System B Linux Mahmoud Rabie Mahmoud - EGJUG 2006
The World Before Web Services Mahmoud Rabie Mahmoud - EGJUG 2006 Situation Problems Different types of platforms Different types of programming languages Solution Create bridge Java The world before System A Problems Windows Org B Org A WEB SERVICES .NET Solutions .NET System A Windows System B Windows System A PL A Platform A C++ System B PL B Platform B C++ System C Bridge Linux System B Linux Mahmoud Rabie Mahmoud - EGJUG 2006
The World Before Web Services Mahmoud Rabie Mahmoud - EGJUG 2006 Situation Another Better Solutions Java The world before System A Windows ٌRMI Org B Org A EDI WEB SERVICES .NET Solutions .NET ebXML System A Solutions Windows System B Windows C++ C++ CORBA COM System C Linux System B Linux Mahmoud Rabie Mahmoud - EGJUG 2006
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 Mahmoud Rabie Mahmoud - EGJUG 2006 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 Web Services Distributed components are interfaced 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
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 Mahmoud Rabie Mahmoud - EGJUG 2006 Situation Advantages of web services The world before Web services provide interoperability between various software applications running on disparate platforms/operating systems Web services use open standards and protocols By utilizing HTTP, web services can work through many common firewall security measures without requiring changes to the firewall filtering rules. Other forms of RPC may more often be blocked 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 Mahmoud Rabie Mahmoud - EGJUG 2006 Situation Advantages of web services The world before 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 are loosely coupled thereby facilitating a distributed approach to application integration. 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 Mahmoud Rabie Mahmoud - EGJUG 2006 Situation Disadvantages of web services The world before 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. 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
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 Mahmoud Rabie Mahmoud - EGJUG 2006 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 +ve and -ve of Web Services Client Web Services Solution Instance Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Mahmoud Rabie Mahmoud - EGJUG 2006 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 Mahmoud Rabie Mahmoud - EGJUG 2006 Web services stack Situation The world before Service & Information Layer Problems 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 Mahmoud Rabie Mahmoud - EGJUG 2006 Web services stack Situation The world before Service & Information Layer Example Problems <message name="getTermRequest"> <part name="term" type="xs:string"/> </message> <message name="getTermResponse"> <part name="value" type="xs:string"/> <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
Fundamentals of Web Services Mahmoud Rabie Mahmoud - EGJUG 2006 Web services stack Situation The world before Packaging Layer Problems 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 SOAP Fund. Of Web Services Encoding rules +ve and -ve of Web Services Web Services Solution RPC representation Mahmoud Rabie Mahmoud - EGJUG 2006
Fundamentals of Web Services Mahmoud Rabie Mahmoud - EGJUG 2006 Web services stack Situation The world before Packaging Layer Problems <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 Mahmoud Rabie Mahmoud - EGJUG 2006 Web services stack Situation The world before Protocol Layer Problems 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
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
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