Webservices

Document Sample
Webservices Powered By Docstoc
					Web services

    Patrick Strating

  Telematica Instituut

   24 october 2002
Outline
• Introduction

• The basis: XML

• Web Services: concept

• Web Services: possibilities & limitations

• Demonstration
Telematica Instituut
       Three focal areas
 Content
engineering
                         E-
                      business




   Electronic                                   Generic
                                     Research             Market
  Co-operation                                  Themes


                           Science                                 Business
                                                                   partners




                           Tussen wetenschap en bedrijfsleven
The Networked Enterprise

                                       customers
                    banks

    suppliers

   intermediaries           partners



                government
From data exchange
to service-coupling
                                            Service web
                                          Service coupling

                          Application web
                   Application coupling

     Information web
   Information exchange
XML as basic technology
What is XML?
• A text based syntax for structured data

• Very simple...

• … but a fundamental technology to build on/with


<product>
 <quantity uom=“PCE”>1</quantity>
 <code class=“GTIN”>8712345123459</code>
 <description lang=“NL”>Rieten mand</description>
 <description lang=“NL”>Maat 3</description>
 <price currency=“EUR”>70,00</price >
</product>
 The XML building
• General XML based (W3C)
• Web service (MS, IBM, HP, SAP, ...)
• Domain specific (RosettaNet, Oasis, …)


                 W3C                               Web services                       Domain specific


               SVG                 SMIL               XLANG             BPSS            EAN XML
            (graphics)          (multimedia)         (process)        (process)       (procurement)


      XForms               XLink              XPath            UDDI               WSI           Rosettanet
      (forms)            (linking)         (addressing)      (Registry)        (Inspection)      (process)


                XHTML                 CSS            WSDL                 WSFL           ebXML
                 (web)               (style)       (Interface)            (Flow)       (e-business)


    XML Encrypt     XML Schema                 XSL             SOAP                XP               GCI
     (security)      (structure)          (presentation)    (transport)        (transport)        (trade)


                                                  XML (syntax)
XML: history
• SGML
  • Standard Generalized Markup Language
  • Goldfarb, Mosher and Lorie (1969)

• HTML
  • HyperText Markup Language
  • Tim Berners-Lee (1989)

• XML
  • eXtended Markup Language
  • World Wide Web consortium W3C (1998)
XML
• Separation of concerns:
    • structure: XML Schema
    • content: XML document
    • mark-up: Extensible Stylesheet Language (XSL)

• Simplicity: text based, Unicode, language & platform
  independent, digitally endurable

• Positive spiral:
    • good support in applications, tools and languages
    • widely accepted
    • Internet oriented technology


• Portability:
    • of data
    • of standards
    • of transformation rules
XML: an example
       70,00

• Identify: tags
   <price> 70,00</price>

• characterise: attributes
   <price currency=“EUR”> 70,00 </price>

• Structure: nesting
  <product>
   <code class=“GTIN”> 8712345123459</code>
   <price currency=“EUR”>70,00</price>
  </product>
XML compared
Text:   1 8712345123459 Rieten mand, maat 3, EUR 70,00


HTML: <p>1 stuk <b>Rieten mand, maat 3</b> EUR 70,00</p>


XML:    <product>
         <quantity uom=“PCE”>1</quantity>
         <code class=“GTIN”> 8712345123459</code>
         <description lang=“NL”>Rieten mand</description>
         <description lang=“NL”>Maat 3</description>
         <price currency=“EUR”>70,00</price >
        </product>
Use of XML
 messages (e.g. Rosettanet)

 documents (e.g. DocBook)

 interface definitions (as in C# or WSDL)

 structure documents (XML Schema)

 configuration files for applications or servers

 envelopw (e.g. SOAP)

 metadata (e.g. MPEG7)

 images (e.g. SVG)

 ...
XML schema
• XML schema definines and describes a class of XML
  documents.
• Defines relations, limitations in syntax, possible
  element values, default values, and document context.
• XML schema
    • Powerful datatyping
    • Re-use
    • Distributed environments

• Validation of data against agreed formats must become
  standard!
•        Robust information exchange
  Exchange of information
Business conversation                        XML dialog
  between 2 people
                         compared to    between 2 systems


       Telefone                               Internet


        Words                                   XML


      Grammar                               XML schema
                                                                XML
                                                              standard
                                              Process
        Dialog

                                              Service
        Goal
XSLT: Transformation of XML
• XSLT translates XML data between
   • Standards
         • EANCOM, RosettaNet, ebXML, ...
   • Applications and services
         • web services, databases, legacy applications, ...
   • People
         • HTML, SVG, PDF, …


• Tool support
   • engines and visuele editors
   Web services:
from defining standards
  to services based on
        standards
  The idea of web services
• A web service is a service provided and invoked
  through the internet
   • with a standard interface description
   • using standard web protocols

                                                        world

                                          Webservice
                              connector
                                           interface

   Appl     Appl     Appl                                business
    A        B        C                                  network


                                                       enterprise
    enterprise platform                                  (EAI)
Why are Web Services important?
• Success factors of the WWW (Internet)
    •   open standards
    •   low access thresholds
    •   global reach
    •   emphasis on simplicity, re-use en deployment
    •   supported by many large vendors
           • HP, Microsoft, IBM, Sun

• With web services you can:
    •   find suppliers, and be found
    •   build new services from other company’s services
    •   connect your own applications (EAI)
    •   co-operate with business partners (B2Bi)
    •   wrap existing applications (legacy integration)
Examples
• Microsoft Mappoint
   • http://www.microsoft.com/mappoint/net/

• Google search service:
   • http://www.google.com/apis/                “Microsoft® MapPoint®
                                                 is a XML Web Service
                                              for integrating maps and
                                               location intelligence into
                                                      your applications,
                                              business processes, and
                                                             Web sites.”
                  “With Google Web APIs,
                 your computer can do the
                    searching for you.”
The web services building blocks

                 Web                                 Services                            Business

               SVG                 SMIL               XLANG             BPSS               xCBL
            (graphics)          (multimedia)         (process)        (process)         (messaging)


    XForms                 XLink              XPath            UDDI               WSIL          Rosettanet
    (forms)              (linking)         (addressing)      (Registry)        (Inspection)      (process)


                XHTML                 CSS            WSDL                 WSFL           ebXML
                 (web)               (style)       (Interface)            (Flow)       (e-business)


      XML           XML Schema                 XSL             SOAP                XP               GCI
    (content)        (structure)          (presentation)    (transport)        (transport)        (trade)


• SOAP: Simple Object Access Protocol
• WSDL: Web Service Description Language
• UDDI: Universal Description, Discovery and Integration
                WS Technology
                Stack
               The Microsoft way   The IBM way             The HP way    The ebXML way



Transactions                                      XAML

                    BizTalk
                  Components
                                                                          Coll. Partner
Negotiation                           tpaML
                                                                           agreement



                    BizTalk                                                  Business
  Process           XLang
                                      WSFL                     WSCL
                                                                          process meth.

                                                              E-speak

                                                                          Collaboration
Description                           WSDL
                                                                          partner profile

                                                                   SFS

                                                                            Registry &
 Discovery                            UDDI
                                                                            repository



                                                                           Transport,
 Transport                            SOAP
                                                                          routing, pack.




 Message                                   XML / EDI / Flat File           Core comp.
   WebService Technology Stack

                                Applications


                                Transactions and contracts
                                Processes
                                Interactive web applications
                                Publish and find
Divergence in upper layers      Describe
                                Call
Abstraction from lower layers
                                Messages
                                Transport
                                Network
http://www.kieskeurig.nl
http://www.mysimon.com
Web services Demonstrator
• Web services in a procurement scenario

• Based on open standards for messages en services

• Business to business integration
   • Service providers:
        • Sellers
        • Logistic service providers
        • Information service providers
   • Broker: service intermediary
   • Registry: yellow pages
 Web service scenario                  Dienstverleners



                   Demo!


                                                Melden


                    Gebruik
                    maken
De eindgebruiker              Broker
                                           Gouden
                                            Gids
Possibilities
• Enterprise Application Integration
   • less dependent on vendors

• B2B intergration
   • more flexibility, cheaper solutions

• Dynamic business architectures
   • Shorter time to market

• Dynamic services

• Automated service substitution

• …
Limitations
• Technical
   • Security
   • Reliability
   • Payments
   • Privacy

• Business
   • Business semantics of web services
   • Semantic alignment
   • Trust
Technology developments




                                                                                             Business
 Business

                       Payment         E-sales               CRM
                       services        support                         ERP/XRP

                                                    Distributed
                       Internet           CSCW       workflow




                                                                                             Commerce
 Commerce




                      payments                                         UDDI         IOTP
                                 Content based               ebXML            OBI
                   Micropayments accounting                     OFX    xCBL cXML
                            Hosting/ASP
                            VPN               BizTalk           FinXML           EAI
                                                        WSDL/
 Network




                                                                                             Network
                                    PKI                 WSIL
                     WAP                                                      Corba
                   /Imode
                            Next generation       SOAP                XML        EJB
                                Internet
  Infrastructure




                                                                                           Infrastructure
                            GRPS      UMTS       Bluetooth        Chipcards      xDSL
The Future of E-Business
• Towards dynamic business networks
   • The Edge Enterprise [Gartner]

• Dynamic products and services
   • Mass customization

• Plug & play e-business technology
   • Apps on tap [HP]; Smart services [Sun]; e-utilities [IBM]

• Less technology, more e-business!
From data exchange
to service-coupling
                                            Service web
                                          Service coupling

                          Application web
                   Application coupling

     Information web
   Information exchange
Raising the level of inter-operability
  Business




                                                                        Business
                          Co-operation (between enterprises)




                                                                        Commerce
  Commerce




                         Co-ordination (of business processes)
  Network




                                                                        Network
                    Communication (between applications and people)
   Infrastructure




                                                                      Infrastructure
                              Connectivity (of networks)
Quotes
• SOAPand WSDL will have a significant impact on the integration
  domain. (…) EAI servers will focus on the higher level activities of
  orchestration, monitoring, alerts and management. (CBDi-forum)

• Web Services combine the best aspects of component-based
  development and the Web. (Microsoft)

• Large scale co-operation between vendors may endanger the
  structural problems in a product branch… (Porter)

• Co-operation is a crucial element of successful enterprise
  management. (Tapscott)
Technology developments




                                                                                             Business
 Business

                       Payment         E-sales               CRM
                       services        support                         ERP/XRP

                                                    Distributed
                       Internet           CSCW       workflow




                                                                                             Commerce
 Commerce




                      payments                                         UDDI         IOTP
                                 Content based               ebXML            OBI
                   Micropayments accounting                     OFX    xCBL cXML
                            Hosting/ASP
                            VPN               BizTalk           FinXML           EAI
                                                        WSDL/
 Network




                                                                                             Network
                                    PKI                 WSIL
                     WAP                                                      Corba
                   /Imode
                            Next generation       SOAP                XML        EJB
                                Internet
  Infrastructure




                                                                                           Infrastructure
                            GRPS      UMTS       Bluetooth        Chipcards      xDSL
The ebXML Value Proposition
• Infrastructure (framework) for electronic business

• Seamless integration of applications AND business
  processes

• Both within and across sectors and regions

• Enabling “plug & play” e-business
Conclusions
• Large impact of web services: less technology, more
  business

• ‘Real-life’ web services require security, reliabilty and
  manageability

• Who will develop and provide web services, and how
  do you pay?

• How do you integrate web service ‘components’ in own
  applications and business processes?
                                More information?
                                          http://gigats.telin.nl

                                           strating@telin.nl

        • XML industry portal:
          http://www.xml.org
Links




        • ebXML portal:
          http://www.ebxl.org

        • Web services:
          https://extranet.telin.nl/docuserver/dscgi/ds.py/Get/File-18739

        • Telematica Instituut
          http://www.telin.nl

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:8
posted:1/9/2012
language:Latin
pages:39