Web Services

Document Sample
Web Services Powered By Docstoc
					WEBSERVICES


  Mahmoud Rabie – EGJUG 2006
                       AGENDA
                Examples                                     Situation

Service                                       The world
Oriented                                                          Problems
                                                before
 Arch.

                                 WEB                             Solutions

                            SERVICES
                                                                   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
                                               Problems
                                before


            WEB                               Solutions

          SERVICES




Mahmoud Rabie Mahmoud - EGJUG 2006
  The World Before Web Services
                                                           Situation

                                             The world
 System A                                                       Problems
                                               before

             Org                                         Org
              A            WEB                            B    Solutions

                         SERVICES A
                              System

System B



            System C

                                                           System B




               Mahmoud Rabie Mahmoud - EGJUG 2006
 The World Before Web Services
                                                                 Situation

   Problems
                                                The world
System A                                                              Problems
   •   Different types of platforms               before
   •   Different types of programming languages
          Org                                                  Org
   SolutionA                  WEB                               B    Solutions


     Create bridge SERVICES A
                        System

System B


           System A                               System B
              PLSystem C
                 A             Bridge                PL B
           Platform A                             Platform B
                                                                 System B




                  Mahmoud Rabie Mahmoud - EGJUG 2006
  The World Before Web Services
                                                           Situation

    Another Better Solutions
                                             The world
 System A
                                               before

             Org                                         Org
              A            WEB                            B    Solutions
                                                                  Solutions
                         SERVICES A
                              System

System B



            System C

                                                           System B




               Mahmoud Rabie Mahmoud - EGJUG 2006
     AGENDA
                                             Situation

                              The world
                                                  Problems
                                before


            WEB                                  Solutions

          SERVICES
                                                   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                         The world
                                                                             Problems
                                                           before
• Not based on standardized rules and specifications

                                         WEB                                Solutions

Module
  A
         CORBA    Module
                    B
                                     SERVICES
                                                                              Probs. with
                                                                              Curr. sols.
                  CORBA
CORBA                                                     Motiv. for
                                                         Web Services
         Module
           C
                                                                        Web Services
                                Module     RMI    Module
                                                                         Solution
                                  A                 B



                           Mahmoud Rabie Mahmoud - EGJUG 2006
              Web Services
Provide                                                           Situation


 Standardized method of communication between
                                 The world
                                           Problems
              software applicationsbefore


                          WEB                                         Solutions
Distributed components are interfaced
                SERVICES
   via non-object-specific protocols Probs. with
                                                                         Curr. sols.
                                             Motiv. for
                                            Web Services
     Module                                            Module
       A                                                 B    Web Services
                                                                     Solution

      C++                                                  Java

              Mahmoud Rabie Mahmoud - EGJUG 2006
       AGENDA
                                             Situation

                              The world
                                                  Problems
                                before


                 WEB                             Solutions

            SERVICES
                                                   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
                                                             Problems
                                     before
Web services provide interoperability between
various software applications running on disparate
platforms/operating systems
                                   WEB                      Solutions

                      standards
Web services use openSERVICES and protocols
                                                              Probs. with
By utilizing HTTP ,web services can work through              Curr. sols.
                                       Motiv. for
many common firewall security measures without
                                      Web Services
requiring changes to the firewall filtering rules. Other
                 +ve and -ve of
forms of RPC may more often be blocked             Web Services
                    Web Services                           Solution




                   Mahmoud Rabie Mahmoud - EGJUG 2006
     +ve and –ve of Web Services
                                                     Situation
Advantages of web services
                                  The world
                                                          Problems
                                    before
Web services allow software and services from
different companies and locations to be combined
easily to provide an integrated service .
                                 WEB                     Solutions

                       reuse of
Web services allow theSERVICES services and
components within an infrastructure .                      Probs. with
                                                           Curr. sols.
                                     Motiv. for
Web services are loosely coupled thereby facilitating
                                    Web Services
a distributed approach to application integration .
                +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
                                                                     Problems
                                    before
Web services standards features such as
transactions are currently nonexistent or still in their
                                    W
infancy compared to more mature distributed
                            EB as CORBA.
computing open standards such                       Solutions

                               SERVICES
Web services may suffer from poor performance Probs. with
compared to other distributed computing approaches
                                               Curr. sols.

such as RMI, CORBA, or DCOM.      Motiv. for
                                                 Web Services
                   +ve and -ve of                               Web Services
                   Web Services                                  Solution




                   Mahmoud Rabie Mahmoud - EGJUG 2006
                      AGENDA
                                                            Situation

                                             The world
                                                                 Problems
                                               before


                                WEB                             Solutions

                           SERVICES
                                                                  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
                                                                   Situation
Definition
                                        The world
A web service is a programmable component that provides a service
                                                          Problems
                                          before
and is accessible over the Internet.



                    Instance
                                       WEB                             Solutions
                                                                   Client
                                  SERVICES
                                                                         Probs. with
                                                                         Curr. sols.
 Component          Instance                  Network              Client
                                                     Motiv. for
                                                    Web Services
    Fund. Of
   Web Services       +ve and -ve of                                Web Services
                      Web Services
                    Instance                                       Client
                                                                     Solution




                      Mahmoud Rabie Mahmoud - EGJUG 2006
    Fundamentals of Web Services
                                                              Situation
Web services stack
                                               The world
                                                                   Problems
                                                 before


                                  WEB                             Solutions

                             SERVICES
                                                                    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
                                                                             Situation
Web services stack
                                                     The world
                                                                                  Problems
       Service & Information Layer                     before


                                   WEB                               Types
                                                                                 Solutions
                                                                    Message
                                 SERVICES
                                                                    Operation
                                                                                   Probs. with
                                                                                   Curr. sols.
   Service                                                          Port Type
Implementation                                        Motiv. for
                                                     Web Services   Binding
    Fund. Of
   Web Services       +ve and -ve of                                  Port Web Services
                      Web Services
                  Web Service Interface                                         Solution
                         (WSDL)                                      Service



                       Mahmoud Rabie Mahmoud - EGJUG 2006
   Fundamentals of Web Services
                                                          Situation
Web services stack
                                        The world
                                                               Problems
     Service & Information Layer Example before

     <message name="getTermRequest">
                                WEB
             <part name="term" type="xs:string"/>
     </message>                                               Solutions

                              SERVICES
     <message name="getTermResponse">
             <part name="value" type="xs:string"/>              Probs. with
     </message>                                                 Curr. sols.
                                           Motiv. for
      <portType name="glossaryTerms"> Web Services
   Fund. Of    <operation name="getTerm">
  Web Services          and -ve of
                    +ve <input message="getTermRequest"/> Services
                                                        Web
                    Web Services message="getTermResponse"/>
                        <output                          Solution
             </operation>
     </portType>

                    Mahmoud Rabie Mahmoud - EGJUG 2006
    Fundamentals of Web Services
                                                                       Situation
Web services stack
                                                        The world
                                                                            Problems
      Packaging Layer                                     before

  Simple Object Access Protocol (SOAP) is a lightweight protocol
                                         WEB
  designed for the exchange of information
                                                                           Solutions
  Defines a modular packaging model and the encoding
                                    SERVICES
  mechanisms for encoding data within modules .
                                                                             Probs. with
                                                                             Curr. sols.
                                             Envelope    Motiv. for
                                                        Web Services
   Fund. Of                                Encoding rules
  Web Services          +ve and -ve of                                 Web Services
                        Web Services     RPC representation             Solution
                 SOAP



                        Mahmoud Rabie Mahmoud - EGJUG 2006
   Fundamentals of Web Services
                                                                Situation
Web services stack
                                                    The world
                                                                     Problems
     Packaging Layer                                  before

      <SOAP-ENV:Envelope xmlns:SOAP-
                                  WEB
      ENV="http://schemas.xmlsoap.org/soap/envelope/"
      SOAP-ENV:encodingStyle=                               Solutions
      'http://schemas.xmlsoap.org/soap/encoding/">
                                SERVICES
      <SOAP-ENV:Header>A2B Header</SOAP-ENV:Header>
             <SOAP-ENV:Body>                                   Probs. with
                 <SubmitEventRequest>                          Curr. sols.
                             <Source>Copier54321</Source>
                                              Motiv. for
                             <Description>   Web Services
   Fund. Of                            MotorFailure
  Web Services                -ve of
                      +ve and </Description>              Web Services
                      Web Services
                 </SubmitEventRequest>                     Solution
             </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>

                      Mahmoud Rabie Mahmoud - EGJUG 2006
    Fundamentals of Web Services
                                                                    Situation
Web services stack
                                                     The world
                                                                         Problems
      Protocol Layer                                   before

  Any of the standard Internet protocols may be used to invoke web
  services over the network .           WEB                             Solutions

                                   SERVICES
  The initial definition focuses specifically on HTTP/1.1 and the
  encrypted HTTPS                                                         Probs. with
                                                                          Curr. sols.
                                                      Motiv. for
  FTP and SMTP can also be used
                                                     Web Services
   Fund. Of
  Web Services         +ve and -ve of                               Web Services
                       Web Services                                  Solution




                       Mahmoud Rabie Mahmoud - EGJUG 2006
                       AGENDA
                                                             Situation

Service                                       The world
Oriented                                                          Problems
                                                before
 Arch.

                                 WEB                             Solutions

                            SERVICES
                                                                   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

     Service
It's an architectural style of building software applications that promotes
                                                    The world
loose coupling between components so that you can reuse them
     Oriented                                                          Problems
                                                      before
    Arch.

                                           WEB                             Solutions

                                      SERVICES
                                                                             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

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:2
posted:11/23/2011
language:
pages:23