Enterprise Computing: Web Services

Slides:



Advertisements
Similar presentations
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Advertisements

Siebel Web Services Siebel Web Services March, From
Overview of Web Services
Web Services Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
General introduction to Web services and an implementation example
SOAP.
1 Understanding Web Services Presented By: Woodas Lai.
Information Management NTU Web Services. Information Management NTU What Are Web Services? Semantically encapsulate discrete functionality Loosely coupled,
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
WEB SERVICES DAVIDE ZERBINO.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
Slide 1 EE557: Server-Side Development Lecturer: David Molloy Room: XG19 Mondays 10am-1pm Notes:
Web Services Seppo Heikkinen MITA seminar/TUT
SOAP Chandra Dutt Yarlagadda Introduction  Why ?  What ?  How ?  Security Issues in SOAP  Advantages  Uses  Conclusion.
Web Services CS Web Services Internet-available services using XML messaging, for computer-computer interaction Not tied to any OS or language Self-describing:
Web Service What exactly are Web Services? To put it quite simply, they are yet another distributed computing technology (like CORBA, RMI, EJB, etc.).
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Secure Systems Research Group - FAU Web Services Standards Presented by Keiko Hashizume.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
1 CS 483 Enterprise and Web Application Programming Week 7 Web Services.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
1 Introduction CSIE, Da-Yeh University. 2 History of Software Development Traditional Programming Paradigm  Behind schedule, costly, and unreliable.
Discovering E-Services Using UDDI in SELF-SERV Quan Z. Sheng, Boualem Benatallah, Rayan Stephan, Eileen Oi-Yan Mak, Yan Q. Zhu School of Computer Science.
Web Services. Need for web services JEE provides a component based approach to development of n-tier applications Limitations Primarily designed for Java.
Web Services Architecture1 - Deepti Agarwal. Web Services Architecture2 The Definition.. A Web service is a software system identified by a URI, whose.
Web services: Why and How OOPSLA 2001 F. Curbera, W.Nagy, S.Weerawarana Nclab, Jungsook Kim.
1 Core Web Services Standards. 2 (Simplified) Web Service Architecture Registry 1. Service Registers PUBLISH 3. Client calls Service BIND 2. Client Request.
Outline  Enterprise System Integration: Key for Business Success  Key Challenges to Enterprise System Integration  Service-Oriented Architecture (SOA)
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Web Services (SOAP, WSDL, and UDDI)
What is Service Oriented Architecture ? CS409 Application Services Even Semester 2007.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Simple Object Access Protocol (SOAP) Mark H Needleman Data Research Associates, Inc. ZIG Meeting December 2000.
CSC8530 Distributed Systems XML Web Services David Vaglia.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Web Services Standards. Introduction A web service is a type of component that is available on the web and can be incorporated in applications or used.
Introduction to Web Services Week I. Overview Introduction Definitions XML WS Architecture Styles Profiles Specifications Similar Efforts
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Introduction to Server-Side Web Development Introduction to Server-Side Web Development using JSP and Web Services JSP and Web Services 18 th March 2005.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
1 Web Services Web and Database Management System.
XML and Web Services (II/2546)
1 Engineering Web Based Legacy Systems By Kanchana Eramudugoda Distributed Computing – CS843.
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
Kemal Baykal Rasim Ismayilov
Introduction to Web Services. Agenda Motivation History Web service model Web service components A walkthrough examples.
1 G52IWS: Web Services Chris Greenhalgh. 2 Contents The World Wide Web Web Services example scenario Motivations Basic Operational Model Supporting standards.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 9 Web Services: JAX-RPC,
Java Web Services Orca Knowledge Center – Web Service key concepts.
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Web Service Interview/VIVA
Unit – 5 JAVA Web Services
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
WEB SERVICES DAVIDE ZERBINO.
Presentation transcript:

Enterprise Computing: Web Services

Exercise What is wrong with JEE? Why would you not use it for web-based application integration? Why would you not use it for intranet-based application integration?

Web Services: Definitions A Web service is a collection of functions that are packaged as a single entity and published to the network for use by other programs. Web services are building blocks for creating open distributed systems, and allow companies and individuals to quickly and cheaply make their digital assets available worldwide. Web Service standards form a platform-independent, open framework for describing services, discovering businesses, and integrating business services.

eXtensible Markup Language A common data format derived from SGML Language independent, hierarchical and self-describing Uses tag-based structure similar to HTML to define XML documents <?xml version="1.0" encoding="ISO-8859-1" ?> <bankaccount type=“Current”>   <name>John Smith</name>   <address> <line 1>1 Grafton Street </line1> <line 2>Dublin 2, Ireland </line2> </address> </bankaccount> Supports arbitrarily complex data formats Schema (defined in xsd files) can be used to define document formats Fragment defining a BankAccount as a type of financial record <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>

eXtensible Markup Language Independent of IT infrastructure Separates the what from the how Many industry based schema standards have been developed For example, Financial Services: ISO15022 (SWIFT, FIX, FpML) XBRL (business reporting) Any XML based infrastructure can handle multiple and evolving schema standards without excessive cost Due to changes in business relationships Due to regulatory changes (e.g. Basil II) Due to evolution of the schemas themselves

The Web Services architecture UDDI Registry Web Services is based on three standards Simple Object Access Protocol (SOAP) defines the communication mechanism Universal Directory Discovery Interface (UDDI) defines the registry of interface definitions Web Service Definition Language defines the actual interfaces 2. Request contract information 3. Retrieve WSDL definition Service Consumer WSDL WSDL 4. Exchange SOAP messages Service Provider 1. Register contract information

SOAP- Simple Object Access Protocol SOAP1.1 Message Structure XML based protocol for exchange of information Encoding rules for datatype instances Convention for representing RPC invocations Used with XML Schema Normally HTTP-based Uses Request/Response Two different modes RPC Document SOAP with Attachments allow arbitrary data to be packaged. SOAP Envelope Header Entries Header Body Fault Element

SOAP Example: Request Sample SOAP Message embedded in an HTTP Request POST /StockQuote HTTP/1.1 Host: www.stockquoteserver.com Content-Type: text/xml; charset="utf-8" Content-Length: 1024 SOAPAction: "http://example.org/2001/06/quotes" <env:Envelope xmlns:env="http://www.w3.org/2001/06/soap-envelope" > <env:Body> <m:GetLastTradePrice env:encodingStyle="http://www.w3.org/2001/06/soap-encoding" xmlns:m="http://example.org/2001/06/quotes"> <symbol>IBM</symbol> </m:GetLastTradePrice> </env:Body> </env:Envelope>

SOAP Example: Response SOAP message sent by the StockQuote service in the corresponding HTTP response to the request HTTP/1.1 200 OK Content-Type: text/xml; charset="utf-8" Content-Length: 512 <env:Envelope xmlns:env="http://www.w3.org/2001/06/soap-envelope" > <env:Body> <m:GetLastTradePriceResponse env:encodingStyle="http://www.w3.org/2001/06/soap-encoding" xmlns:m="http://example.org/2001/06/quotes"> <Price>97.5</Price> </m:GetLastTradePriceResponse> </env:Body> </env:Envelope>

UDDI Universal Description, Discovery and Integration Platform-independent, open framework for describing services, discovering businesses, and integrating business services. A DNS-like model implementation of the directory Originally intended to support global registries Created during the .com bubble. Includes White, Green and Yellow Pages for search purposes Now primarily inside organisations if at all

Web Service Description Language (WSDL) Interface definition language in XML Conceptually, no different from Enterprise Java Bean or Common Gateway Interface Based on XML Schema Can appear to be very verbose An interface description is a contract between the server developers and the client developers WSDL describes the web service Similar to Java method signatures

Interoperability Challenges Interoperability remains the chief challenge of web services Complex and imprecise standard Tools generating SOAP, WSDL, UDDI, etc. need to be interoperable Web Services Interoperability (WS-I) focus on creating to Interoperability WS-I Basic Profile 1.0 defines an interoperable web services platform

WS-I Basic Profile V1.2 in draft form WS-I Basic Profile 1.1: SOAP 1.1 WSDL 1.1 Must use HTTP binding, should use HTTP 1.1 XML Schema Part 1, Part 2 May use HTTPS SOAP messages should use document/literal V1.2 in draft form

Web Services: Another approach to distributed computing Builds on the legacy of CORBA, J2EE etc It is not a new component model, programming model or programming language. UDDI/WSDL/SOAP provide another distributed computing technology Standards developing for the Quality of Services and other EAI-type functionality. Exercise: Write down the standards for J2EE Quality Of Service Discovery Description Messaging Transport

Web Services: Another approach to distributed computing WS- Reliable Messaging WS- Security WS- BA Quality Of Service WS- Coordination UDDI Discovery XSD, WSDL, WS-Policy Description SOAP Messaging XML HTTP, MQ, SMTP Transport

Web Services Strengths Interoperability Based on open standards, utilizes existing infrastructure Can be accessed from any programming language/model Ubiquity Communicates through XML/HTTP – Any system that supports these standards, supports Web Services Support from all major software vendors (IBM and Microsoft) Low barrier to entry Concepts easy to understand, easy to implement Toolkits allow COM, JEE, and CORBA components to be exposed as Web Services

Web Services and XML/WS standards Java API for XML Parsing (JAXP) JAXP enables applications to parse and transform XML documents Independent of XML processor implementation JAXP includes common industry standard components/interfaces DOM (Document Object Model and SAX (Simple API for XML Processing) XSLT (XML Style Language Transformations) JAXP adds additional functionality beyond these standards Java API for XML Remote Procedure Call (JAX-RPC) SOAP (Simple Object Access Protocol) 1.1 specification Java API for XML Registries (JAX-R) APIs to access UDDI Registry