4. Concepts and Technologies for B2C, B2E, and B2B Transaction

Similar documents
Introduction into Web Services (WS)

Research on the Model of Enterprise Application Integration with Web Services

B2B Glossary of Terms

BUSINESS PROCESS AND EBXML - WEB SERVICES INTEGRATION PLATFORM, REQUIREMENTS, ARCHITECTURES, SECURITY

ebxml Web Services & EDI

ISM/ISC Middleware Module

Web Services. Mark Volkmann Partner Object Computing, Inc. What Are Web Services?

EAI OVERVIEW OF ENTERPRISE APPLICATION INTEGRATION CONCEPTS AND ARCHITECTURES. Enterprise Application Integration. Peter R. Egli INDIGOO.

T Network Application Frameworks and XML Web Services and WSDL Tancred Lindholm

WEB SERVICES. Revised 9/29/2015

Service Oriented Architecture

Fundamentals of Web Programming a

Introduction to Web Services

XIII. Service Oriented Computing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

Web Services Strategy

Christoph Bussler. B2B Integration. Concepts and Architecture. With 165 Figures and 4 Tables. IIIBibliothek. Springer

Motivation Definitions EAI Architectures Elements Integration Technologies. Part I. EAI: Foundations, Concepts, and Architectures

What Is the Java TM 2 Platform, Enterprise Edition?

Run-time Service Oriented Architecture (SOA) V 0.1

UDDI Executive White Paper November 14, 2001

Introduction to Web services architecture

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture

XML- New meta language in e-business

Developing Java Web Services

Principles and Foundations of Web Services: An Holistic View (Technologies, Business Drivers, Models, Architectures and Standards)

ITS. Java WebService. ITS Data-Solutions Pvt Ltd BENEFITS OF ATTENDANCE:

David Pilling Director of Applications and Development

Modern XML applications

Standards Required to Support XML-Based B2B Integration

ebxml Glossary Technical Architecture Team Version 0.99

E-Business Technologies for the Future

XML in Programming 2, Web services

Web services can convert your existing applications into web applications.

Web services (WS) Outline. Intro on Middleware SOAP, HTTP binding WSDL UDDI Development tools References

Service-Oriented Architecture: Analysis, the Keys to Success!

What is a Web service?

Introduction to Service Oriented Architectures (SOA)

SCA-based Enterprise Service Bus WebSphere ESB

Enterprise Federation through Web Services based Contracts Architecture

WhitePaper. Web services: Benefits, challenges, and a unique, visual development solution

Service-oriented architecture in e-commerce applications

Web Services Technologies: State of the Art

Service-Oriented Architectures

Introduction to OGC Web Services

Cloud Computing & Service Oriented Architecture An Overview

Lesson 4 Web Service Interface Definition (Part I)

Ibm. Web Services Conceptual Architecture (WSCA 1.0) May By Heather Kreger IBM Software Group

Enterprise Application Designs In Relation to ERP and SOA

Developing Java Web Services to Expose the WorkTrak RMI Server to the Web and XML-Based Clients

Web services with WebSphere Studio: Deploy and publish

Middleware Lou Somers

IBM WebSphere ESB V6.0.1 Technical Product Overview

Middleware and the Internet

Web Services Description Language (WSDL) Wanasanan Thongsongkrit

Introduction to UDDI: Important Features and Functional Concepts

Virtual Credit Card Processing System

EXTENDING IBM WEBSPHERE USING E2OPEN SOFTWARE ON DEMAND FOR MULTI-COMPANY PROCESS MANAGEMENT

WebSphere Portal Server and Web Services Whitepaper

Oracle Service Bus. User Guide 10g Release 3 Maintenance Pack 1 (10.3.1) June 2009

A Flexible Services Architecture Based Translator Web Services

Grid Computing. Web Services. Explanation (2) Explanation. Grid Computing Fall 2006 Paul A. Farrell 9/12/2006

Accessing Data with ADOBE FLEX 4.6

e-science Technologies in Synchrotron Radiation Beamline - Remote Access and Automation (A Case Study for High Throughput Protein Crystallography)

EBXML FEATURE SOAP WSDL. written by Una Kearns UDDI. Content Management & Web Services. 6 November

E-Learning as a Web Service

Improving Agility at PHMSA through Service-Oriented Architecture (SOA)

Web Services Development In a Java Environment

Agents and Web Services

Outline SOA. Properties of SOA. Service 2/19/2016. Definitions. Comparison of component technologies. Definitions Component technologies

Developing a Web Service Based Application for Mobile Client

JVA-561. Developing SOAP Web Services in Java

Java Web Services Training

Service Oriented Computing: SOAP, WSDL and UDDI. Dr. Cristian Mateos Diaz ( ISISTAN - CONICET

Internationalization and Web Services

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

SOA REFERENCE ARCHITECTURE

Building Web Services with Apache Axis2

Emerging Technologies Shaping the Future of Data Warehouses & Business Intelligence

REST web services. Representational State Transfer Author: Nemanja Kojic

MD Link Integration MDI Solutions Limited

EDI stands for the transfer of structured data, by agreed standards from computer application to computer application through electronic means.

Introduction to WebSphere Process Server and WebSphere Enterprise Service Bus

SOA REFERENCE ARCHITECTURE: SERVICE TIER

Creating Web Services in NetBeans

A SOA Based Framework for the Palestinian e-government Integrated Central Database

Unit IV: SOAP protocol, XML-RPC, HTTP, SOAP faults and SOAP attachments, Web services, UDDI, XML security

Service-Oriented Architecture and Software Engineering

Author: Gennaro Frazzingaro Universidad Rey Juan Carlos campus de Mostòles (Madrid) GIA Grupo de Inteligencia Artificial

Transcription:

4. Concepts and Technologies for B2C, B2E, and B2B Transaction 4.4 Exchanging Information within Open Business Communities 4.4.1 Pre-Internet B2B standards: EDI, Interactive EDI, Universal EDI, OpenEDI 4.5 Technologies for Internet-based B2C or B2B Commerce 4.5.1 ebxml, BizTalk, RosettaNet 4.5.2 WebServices, SOAP, UDDI, WSDL 4-1

Electronic Data Interchange (EDI) (1) The Electronic Data Interchange (EDI) standard existed before the Internet existed and was used to conduct business. It allows for exchange of electronic business documents. It standardizes electronic messages and the content semantics: EDI itself exists as two disparate de-jure standards: EDIFACT (Europe) and X12 (USA). De-facto standards were introduced by big players many different formats exist. EDI messages were primarily specified for usage on Telex machines their format is severely restricted, they may not contain binary data Subsequent standards of EDI: Non-internet-based EDI Successors: Open EDI, Universal EDI (OO-EDI), Interactive EDI Internet-based EDI Successors: ebxml, WebServices. 4-2

Example 4-3

EDI 4-4

Example Scenario 1 Request Negotiation, Commit, Order Enterprise Software System Enterprise Software System Feedback, Payment, Invoice Performance, Deliver Order Deliver Invoice Payment handled by EDI 4-5

Example Scenario 2 Buyer Encoded order Encoded payment information Seller Confirmation Internet Clearing Certificate Authorities Encoded payment information Authorization Internet Request Kunden-Bank (Kreditkartenherausgeber) Authorization Händler-Bank (Zahlungs-Gateway) 4-6

4. Concepts and Technologies for B2C, B2E, and B2B Transaction 4.4 Exchanging Information within Open Business Communities 4.4.1 Pre-Internet B2B standards: EDI, Interactive EDI, Universal EDI, OpenEDI 4.5 Technologies for Internet-based B2C or B2B Commerce 4.5.1 ebxml, BizTalk, RosettaNet 4.5.2 WebServices, SOAP, UDDI, WSDL 4-7

XML / EDI & more ebxml Purpose Original purpose: Realize EDI using XML documents as EDI messages. Motivation: XML for data and document modeling: Portable exchange format for data of different application domains. Storage of semi-structured data in (XML-)databases. Mixes describing data (meta data) and data itself. XML / EDI has surfaced as the ebxml standard. ebxml has only few connections to the original EDI standard: Open standard platform (unlike EDI) Business service modeling is done in UML (design) and XML (representation) 4-8

Example 4-9

ebxml (1) Purpose of ebxml (Electronic Business extensible Markup Language) The United Nations body for Trade Facilitation and Electronic Business (UN/CEFACT) and the Organization for the Advancement of Structured Information Standards (OASIS) have initiated a project to standardize XML business specifications. UN/CEFACT and OASIS have established the Electronic Business XML Initiative to develop a technical framework that will enable XML to be utilized in a consistent manner for the exchange of all electronic business data. ebxml is an open architecture, not a standard Lower the barrier of entry to electronic business in order to facilitate trade, particularly with respect to small- and medium-sized enterprises (SMEs) and developing nations. Technically: Provide an open XML-based infrastructure enabling the global use of electronic business information in an interoperable, secure, and consistent manner by all parties. 4-10

ebxml (2) ebxml values Note: Provides a globally developed open XML-based standard built on a rich heritage of electronic business experience. Creates a Single Global Electronic Market Enables all parties irrespective of size to engage in Internet-based electronic business. Provides for plug and play shrink-wrapped solutions. Enables parties to complement and extend current ECommerce / EDI investment and expand electronic business to new and existing trading partners. Facilitates convergence of current and emerging XML efforts. Proof-of-concept has been successfully done. Widely regarded as a strong successor-elect of EDI. 4-11

ebxml Architecture Anne Thomas Manes Sun Microsystems atm@sun.com O Reilly Conference on Java, March 29, 2001

ebxml Vision A global electronic market place where enterprises of any size, anywhere can: Find each other electronically And conduct business Using XML messages According to standard business process sequences With clear business semantics According to standard or mutually agreed trading partner protocol agreements Using off the shelf purchased business applications 4-13

B2B Collaboration B2B collaboration requires more than just an XML protocol and a service registry You have to deal with Business semantics Negotiating terms and conditions Interoperability Security and Privacy Reliability ebxml provides concrete specifications to enable dynamic B2B collaborations 4-14

B2B Collaboration Process Process Definition Process Evolution Partner Discovery Process Management Electronic Business Collaboration Partner Sign-Up Process Execution Electronic Plug-in 4-15

ebxml Specifications Process Reengineering Business Process Management Process Evolution Process Management Business Process, Core Components Process Execution Process Definition Electronic Business Collaboration Electronic Plug-in Partner Discovery Partner Sign-Up Registry/ Repository Collaboration Protocol Profile Collaboration Protocol Agreement Message Service, Business Service Interface Business Service Interface 4-16

ebxml Architecture Business Process Business Documents Core/Industry Components Design Time Register & Discover Collaboration Protocol Profile Registries/ Repositories CP Agreement XML based: XMI, Specification Schema, Document Schemas Collaboration Protocol Profile Runtime Business Service Interface Business Services/App s Transport Package Business Service Interface Business Services/App s 4-17

1 Usage Example Request ebxml specifications ebxml specifications detail 2 ebxml BO Library ebxml BP Model 12 DO BUSINESS! 9 8 3 Accept CPA 4 Build local system implementation Submit CPA Register scenarios and implementation details Register company business profile Confirm profile and scenarios accepted 6 10 Query about Company X Company X s Profile Request Company X s Scenario Company X s Scenario 7 11 5 Specifications Profiles Scenarios INDUSTRY INPUT ebxml BO Library ebxml BP Model

Company Profile Collaboration Protocol Profile Defined using ebxml Specification Schema Concrete specification of your ebusiness offerings Business scenarios you support Service interfaces you implement Document formats exchanged Technical requirements/options (protocols, security, reliability) Composed of Business process models Information models Context rules 4-19

Business Scenarios Often defined by Industry Groups Standard business scenarios remove the need for prior agreements among trading partners Business Process Model Interactions between parties Sequencing of interactions Documents exchanged in each interaction Information Model Document definition Context definition Context rules 4-20

Business Process Business Process Collaboration Transaction Business Process... Business Process Create Long Term Contract Forecast Component Requirements Transaction Collaboration Send Planning Document Customer Place Order Ship Materials Supplier Arrange Payment 4-21

Resources ebxml Participation & Mailing Lists Open to everyone http://www.ebxml.org/participate.htm ebxml Specifications http://www.ebxml.org/specdrafts/approved_specs.htm 4-22

BizTalk: Goals BizTalk is Microsoft s platform for business partner integration as well as enterprise applications integration (EAI) (not covered here). Goals for integrating business partners by Designing and implementing dynamic business processes (B2B electronic document exchange processes) Integrating legacy systems and enterprise applications into business processes (Enterprise Application Integration, EAI). Open Standards: BizTalk relies on open standards and specifications (SOAP / XML, HTTP, SMTP). Purpose: Relate interorganizational messaging technologies (messaging systems, emailing, XML messaging) with a company s applications and legacy systems. [MS01] 4-23

BizTalk: Technical Aspects Technical aspects: BizTalk server tracks data and documents exchanged in business processes. Document type definition (schema) transformation support for mapping business documents of different companies. BizTalk provides a programming framework (2.0) for (legacy) system integration. Document exchange formats: EDI (both standard ANSI X12 and EDIFACT) HTTP / HTTPS (web-based) SMTP (mail-based) File-transfer Fax only outbound Application / Legacy System Integration: Integration via Open Binding Architecture: Adapters connect BizTalk System to applications & legacy systems. [MS01] 4-24

RosettaNet.org 4-25

Purpuse 4-26

Communication based on Internet and XML 4-27

Order Processing in Generic Company 4-28

4. Concepts and Technologies for B2C, B2E, and B2B Transaction 4.4 Exchanging Information within Open Business Communities 4.4.1 Pre-Internet B2B standards: EDI, Interactive EDI, Universal EDI, OpenEDI 4.5 Technologies for Internet-based B2B Commerce 4.5.1 ebxml, BizTalk, RosettaNet 4.5.2 WebServices, SOAP, UDDI, WSDL 4-29

WebService: Definitions WebServices are...... self-contained, modular applications that can be described, published, located, and invoked over a network, generally, the Web. [IBM]... a type of service that can be shared by and used as components of distributed Webbased applications [BEA].... programmable application logic accessible using standard Internet protocols [Microsoft]. WebServices are online services (e.g. flight reservation service, hotel booking service, etc.) that are accessed over the Internet via method invocation and not by requesting HTML pages. WebServices can technically be understood as remote procedure calls (RPC). They use SOAP messages for invocation, parameter passing and returning results. As a result, they provide information but no visualization. WebServices can be used by other WebServices or by human users. As WebServices do not provide presentation of content, the content must be rendered (visualized) for the human user. 4-30

Benefits and Shortcomings of WebServices Benefits of WebServices Uses open and widely adopted standards Platform- and language-independent Broad support by major players (IBM, Microsoft, Sun, ) and agreement about new, upcoming standards WebServices are a necessity : Dynamic B2B integration requires service-to-service communication. Business Application Integration (BAI) will be simplified Shortcomings: General problem: How to describe the semantics of services (WebServices do not solve this problem either) Presentation of service must be provided separately. 4-31

WebServices Technologies 1. Description WSDL (XML-based Web Services Description Language) 2. Publishing UDDI (see next sections) 3. Lookup UDDI (- -) 4. Invocation SOAP (- -) Quelle: Dan Gisolfi (IBM) Web Services Architect Part 1 4-32

WebService: Example Provider 1: Flight Reservation WebService Provider 2: Hotel Reservation WebService Provider 3: Rental Car WebService 1. Registration (Publication) 3. Usage (Binding) WebService- Directory Service (UDDI) 2. Service Lookup (Find) WebService User Application 4-33

Simple Object Access Protocol (SOAP) The Simple Object Access Protocol (SOAP) is an XML / HTTP based protocol for accessing services, objects and servers in a platform-independent manner. developed from the idea to create an XML-based RPC (remote procedure call) mechanism mainly driven by Microsoft and IBM large support base platform- and programming language independent asynchronous communication is possible standard transport protocol is HTTP. SOAP is NOT a replacement for CORBA / DCOM, it is simply a wrapper technology to make services more accessible over the Internet Spec: http://www.w3.org/tr/soap/ 4-34

SOAP: Related, Existing Technologies Existing distribution architectures and technologies include OMG CORBA, Microsoft DCOM, Java RMI, Unix-RPC,... But no single technology is used for dynamic and interorganizational service integration. Some reasons: Unix-RPC: requires binary-compatible Unix systems on both sides CORBA: not widely adopted RMI: requires Java on both sides DCOM: requires Windows systems on both sides Firewall problems (packets are filtered by firewalls if using dynamic ports) 4-35

SOAP Message Structure SOAP extends HTTP request / responses with SOAP-Header to identify that it s a SOAP message SOAP-Body containing an XML payload: the actual data to be transmitted 4-36

SOAP: Example Message: Stockquote POST /StockQuote HTTP/1.1 Host: www.stockquoteserver.com Content-Type: text/xml; charset="utf-8" Content-Length: nnnn <SOAP-ENV:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/ SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <m:getlasttradeprice xmlns:m="service definition (namespace) URL"> <symbol>sap</symbol> </m:getlasttradeprice> </SOAP-ENV:Body> </SOAP-ENV:Envelope> 4-37

Lookup Services: UDDI The Universal Description, Discovery and Integration (UDDI) project aims at creating a platform-independent, open framework for as well as an describing services discovering businesses and integrating business services using the Internet, operational registry (i.e., naming service) [UDDI02]. UDDI uses SOAP as protocol. A UDDI node is a global directory service for companies and web services that companies provide. Currently, there exist some public UDDI nodes at IBM and Microsoft, HP, etc. See: http://www.uddi.org 4-38

UDDI (2) Content types of UDDI nodes: White Pages: General information about companies: name, address, contact, etc. Yellow Pages: Classification of companies Based on existing, non-electronic standards (example: North American Industry Classification System, NAICS) Green Pages: Technical information about WebServices provided by a company. WebServices will be explained in 6.3.4. 4-39

WSDL WSDL: WebServices Description Language WSDL evolved from IBM s Network Accessible Service Specification Language (NASSL) and Microsoft s Service Description Language (SDL). It is an XML-based description of service operations and message formats for these operations. It contains Supported operations, Datatype definitions (parameters and result types), Message definitions, Protocol and data format descriptions. Protocol bindings for SOAP, HTTP GET and POST and MIME types are defined in the standard. Spec: http://www.w3.org/tr/wsdl 4-40

WSDL Example <message name= OrderMsg"> <part name= productname" type="xsd:string" /> <part name= quantity" type="xsd:integer" /> </message> <porttype name= procurementporttype"> <operation name= ordergoods"> <input message= OrderMsg"/> </operation> </porttype> <binding name= ProcurementSoapBinding type="procurementporttype"> <soap:binding transport= http://schemas.xmlsoap.org/soap/http /> <operation name= OrderGoods > <soap:operation soapaction= http://example.com/ordergoods /> <input> <soap:body /> </input> </operation> </binding> <service name= >ProcurementService"> <port name= ProcurementPort" binding="procurementsoapbinding"> <soap:address location="http://example.com/procurement" /> </port> </service> 4-41

WSDL Example Explanation types: Specifies all the data types, either predefined or user-provided, that are used in the messages sent between the server and client. message: Describes a one-way message, may it be a request or response to a request message. porttype: Combines multiple message elements to one one-way or round-trip operation (for instance for a request/response scheme commonly used in SOAP services). binding: Specifies how the service will be implemented on the wire, meaning it gives details on how messages should be transported over the Internet. They can be sent via HTTP, using either the GET or POST method, or SOAP (which itself again can be configured to work over HTTP, or e.g., SMTP). service: Defines the address for invoking the service, usually a URL where a SOAP service is deployed at. 4-42

Combination of WebService and HTML Frontend Usage via Browser Application Server Internet Browser HTTP/HTML Servlet/JSP Usage as WebService: SOAP Application HTTP/SOAP SOAP Router Servlet Application Logic 4-43

Extending WebServices to Business WebServices Simple WebServices: Point-to-point connections (binary conversations) No transactions needed No / simple security measures Technologies: SOAP, WSDL, UDDI Business WebServices: Can involve several business partners (multi-party business processes) Complex workflows (control-flow and information-flow, events, triggers, exceptions) Long-term transactions Security is required WebServices must be extended 4-44