1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Web Service Architecture
Overview of Web Services
Intesar G Ali IT DepartmentPalestinian Land Authority Web services Prepared by: Intesar Ali IT Department PLA August 2010.
31242/32549 Advanced Internet Programming Advanced Java Programming
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
1 Understanding Web Services Presented By: Woodas Lai.
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.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
Virtual Ticketing Agents using Web Services and J2EE Advisor: Dr. Chung-E-Wang Date: 05/06/03 Naveen Repala.
Web Service Standards Relevant to SOA
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Distributed Heterogeneous Data Warehouse For Grid Analysis
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
CS490T Advanced Tablet Platform Applications Network Programming Evolution.
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
1 Java Server Programming zLecture 1 focuses on: yIntroduction to web services y Web Services using Axis y The bigger Picture: Introduction to J2EE y Java.
Web service testing Group D5. What are Web Services? XML is the basis for Web services Web services are application components Web services communicate.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
SSC2: Web Services. Web Services Web Services offer interoperability using the web Web Services provide information on the operations they can perform.
Web services: Why and How OOPSLA 2001 F. Curbera, W.Nagy, S.Weerawarana Nclab, Jungsook Kim.
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
Web Server Administration Web Services XML SOAP. Overview What are web services and what do they do? What is XML? What is SOAP? How are they all connected?
Lecture 15 Introduction to Web Services Web Service Applications.
Web Services (SOAP, WSDL, UDDI) SNU OOPSLA Lab. October 2005.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Web Services BOF This is a proposed new working group coming out of the Grid Computing Environments Research Group, as an outgrowth of their investigations.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
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.
Chapter 10 Intro to SOAP and WSDL. Objectives By study in the chapter, you will be able to: Describe what is SOAP Exam the rules for creating a SOAP document.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
Copyright © 2013 Curt Hill SOAP Protocol for exchanging data and Enabling Web Services.
1 Web Services Web and Database Management System.
XML and Web Services (II/2546)
Kemal Baykal Rasim Ismayilov
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
CSIT 220 (Blum)1 Remote Procedure Calls Based on Chapter 38 in Computer Networks and Internets, Comer.
An Introduction to Web Services Web Services using Java / Session 1 / 2 of 21 Objectives Discuss distributed computing Explain web services and their.
C# 1 Web services CSC 298. C# 2 Web services  A technology to make libraries available across the internet.  In Visual Studio,  can create a web service.
Introduction to Web Services. Agenda Motivation History Web service model Web service components A walkthrough examples.
Web Services An Introduction Copyright © Curt Hill.
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.
1/30/20161 Introduction to Web Services Bina Ramamurthy
Introduction to Web Services Presented by Sarath Chandra Dorbala.
INFSO-RI Enabling Grids for E-sciencE Web Services Mike Mineter National e-Science Centre, Edinburgh.
EGEE is a project funded by the European Union under contract IST Introduction to Web Services 3 – 4 June
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Unit – 5 JAVA Web Services
Web Services Primer Overview of Web Services
Implementing a service-oriented architecture using SOAP
The future of distributed systems architecture
Introduction to Web Services
Distributed System using Web Services
Introduction to Web Services and SOA
Presentation transcript:

1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo

2 Presentation Outline Introduction on Web Services Related Work  Web Services  SOAP  WSDL  UDDI registry Web Services Oriented Data Processing and Integration Introduction to WSIPL- Web Service Integration and Processing Language Application Examples

3 What is a Web Service? public class Exchange{ public float getRate(String country1, String country2) { return ; } 1) Compile it to Exchange.class 2) A Web Server (e.g. Tomcat) + a SOAP server (e.g. Apache SOAP) 3) Put Exchange.class to a directory that the SOAP server know It is already a Web Service!

4 What is a Web Service? Too simple? What is the Web Service usage?  It is simple! So simple that seems no big deal?  Clients connect to the Exchange services can get back  Identical to traditional Remote Procedure Call (RPC) in distributed computing  Question? Why not use current Web Application?  E.g. Clients connect to a Web Server with some HTML form page to feed in input data on the form and get back a HTML page with (the Web application can be a Java Servlet, CGI program or.ASP script) The WS paradigm is to let different Web Service`S’ to Integrate and Cooperate together

5 What is a Web Service? If more than one Exchange Web Services, e.g. one Exchange WS is for answering exchanging rate between US and HK dollar (e.g. provided by HK Bank), another WS is for answering exchange rate between US and Euro dollar 2 Web Services can integrate together to provide a new Web Service

6 The heart of Web Services-SOAP SOAP is the standard protocol for XML messaging and RPC communication on all platform, all languages. Stands for Simple Access Object Protocol Is actually ride on existing communication protocol, e.g. HTTP, SMTP because XML is also just a text message

7 What is SOAP? Is a communication protocol Is for communication between applications Is a format for sending messages Is designed to communicate via Internet Is platform independent (of course  XML  text) Is language independent Is based on XML Is simple and extensible Is a W3C standard

8 Life Before SOAP B4 SOAP, applications communicate using CORBA, they are RPC, application A call B methods and return something to A. Even its work, they are not for http (Internet). IIOP born for COBRA and RMI for Internet, but still need to fight with firewall, proxy, security and compatibility.

9 Clients invoke SOAP Java client need to import SOAP stuffs this time! E.g. Import org.apache.soap.*; Import org.apache.soap.rpc.*; public class client { url = “ ” ; call.seturl(url); OUTPUT=call.getRate( “ HK ”, “ US ” ); }

10 SOAP Message at a glance If capture the underlying SOAP message, can find format like this:  SOAP body

11 Captured SOAP message

12 Web Services Description Language (WSDL) Describing the web services you provided Usage?  Let clients know which operation you provided, how they bind with, what you have used as protocol via SOAP (http, ftp, smtp)  If the operation of your web service fulfill predefined sets of roles (types), you can then compete with other similar service providers (e.g. you provide function with getRate() and transfer(), then you can be type of “ BANK ” )

13 WSDL WS code (server side java code)  WSDL  Client stub  Client code Where do the WSDL files locate?  As a file in the service site  UDDI registry

14 UDDI-Universal distribution, discovery, and interoperability Similar concept to yellow page New services register to the UDDI registry  By writing code (import UDDI library, uddi4j)  Or simple done it on web Clients can search it  By writing code again(uddi4j)  Or by web Returning the WS information and the corresponding WSDL file or the URL to that WSDL file

15 Web Services Oriented Data Processing and Integration Business applications often require intensive human programming efforts on data processing and integration E.g. A company may want to enquire the total inventory level of a particular stock in different regions, while each regional office maintain its own inventory database

16 Before and After XML Before - Need low level programming:  Network programming  Database query  Not flexible (business requirement varies time to time) After  Network programming is easier (handle XML text only)  Simple handle of data transform (e.g. 2 databases has different field name)

17 After XML… However, flexible problem is persist Very tedious to write a new application for different purpose with minor changes Introduce new efforts on handling XML parsing, transforming (e.g. XML  HTML)

18 Our approach A novel approach for data integration and processing WSIPL (stands for Web Services Integrating and Processing Language) Key Requirements  Web Service Orientation  Coordination  Data Processing and Integration

19 Web Service Orientation All data sources and processors are exposed as Web Services  Reusable  Ready for incorporate and coordinate under standard For legacy (existing) operations, add a Web Service Interface (by wrapper)

20 Coordination WSIPL provides constructs:  W3C standard compliance  Execution IF-THEN-ELSE * FOR-EACH * SWITCH-CASE * EXCEPTION  * same as XSLT and XPath, thus can push all efforts to a XSLT processor  Parallelization If no dependency between web services, executes in parallel to increase efficiency

21 Data Processing and Integration Validation  Validate with XSchema Transformation  E.g XSLT  Handling data field problem Composition  E.g. summary of inventory data

22 A WSIPL example

23 WSIPL system reference architecture

24 End