Current Trends in Network- Based Application Developments Bill Chu Department of Software and Information Systems UNC Charlotte.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Overview Environment for Internet database connectivity
Siebel Web Services Siebel Web Services March, From
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
Introduction to WSDL presented by Xiang Fu. Source WSDL 1.1 specification WSDL 1.1 specification – WSDL 1.2 working draft WSDL.
SOAP.
Web Services Web Services are the basic fundamental building blocks of invoking features that can be accessed by an application program. The accessibility.
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.
WEB SERVICES DAVIDE ZERBINO.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
Web Services CS Web Services Internet-available services using XML messaging, for computer-computer interaction Not tied to any OS or language Self-describing:
CS 522 WebServices -Sujeeth Narayan -Ankur Patwa.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
Current Trends in Network- Based Application Developments Bill Chu Department of Software and Information Systems UNC Charlotte.
Human-Computer Interface Course 5. ISPs and Internet connection.
What are Web Services? Definition of web service A web service is a distributed unit of business logic that can be accessed over Internet standard web.
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.
Lecture 10 12/3/12 1. $_SERVER Server and execution environment information An array containing information such as headers, paths, and script locations.
UDDI ebXML(?) and such Essential Web Services Directory and Discovery.
Outline  Enterprise System Integration: Key for Business Success  Key Challenges to Enterprise System Integration  Service-Oriented Architecture (SOA)
Web Services (SOAP, WSDL, and UDDI)
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
CSC8530 Distributed Systems XML Web Services David Vaglia.
Dodick Zulaimi Sudirman Lecture 14 Introduction to Web Service Pengantar Teknologi Internet Introduction to Internet Technology.
Web Services (SOAP, WSDL, UDDI) SNU OOPSLA Lab. October 2005.
CS795/895: Introduction. Topics Distributed Systems –Availability –Performance –Web Services Security –Authentication –Authorization –Confidentiality.
Component-Based Software Engineering Introduction to.NET Paul Krause.
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
1 Web Services Web and Database Management System.
Enterprise Computing: Web Services
XML and Web Services (II/2546)
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Kemal Baykal Rasim Ismayilov
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Web Services Part 1 -- Qinwei Zhu Part 2 – Yongqun He.
WSDL – Web Service Definition Language  WSDL is used to describe, locate and define Web services.  A web service is described by: message format simple.
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.
Netprog: Soap & XML-RPC1 XML-RPC and SOAP. Netprog: Soap & XML-RPC2 XML Extensible Markup Language Markup Language. –HTML is also a markup language (but.
.NET Mobile Application Development XML Web Services.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
Web Service Definition Language. Web Services: WSDL2 Web Service Definition Language ( WSDL ) What is a web service? [ F. Leymann 2003 ] A piece of code.
Web Services. Web Service: Simple definition : “ Service Offered On the Web “ Technically : “ A Web Service is a programmable application component that.
SOAP, Web Service, WSDL Week 14 Web site:
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,
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Introduction to Web Services
Implementing a service-oriented architecture using SOAP
Distributed System using Web Services
Presentation transcript:

Current Trends in Network- Based Application Developments Bill Chu Department of Software and Information Systems UNC Charlotte

© Bei-Tseng Chu March 2002 Microsoft.Net A framework for network-based application development Provides a middleware for web-services to communicate with each other Specifically designed to address the following problems Lack of consistent access Proprietary data formats Isolation of information

© Bei-Tseng Chu March 2002.Net components Cross language interoperability Allows components written in different programming languages to work with each other Use Inheritance Self-describing components Common Type System Application domain Unit of processing and security policy enforcement.NET My Service Streamline the use of authentication information

© Bei-Tseng Chu March 2002 Example of cross language interoperability: Box Class in C# Public class Box{ Public Double Length, Width, Height; Public Box () { Length=0;Width=0; Height=0; print();} public void print() { System.Console.WriteLine(“Length=“+Length.ToString()+”Width=“Width.ToString() +”Height=“Height.ToString());} } VB.NET Simple Inheritance Public Class Car : Inherits Box Private iAxils as Integer Property Axils as Integer Get Axils=iAxils End Get Set iAxils = Value End Set End Property End Class

© Bei-Tseng Chu March 2002.net: Microsoft Intermediate Language (MSIL) All.net applications are compiled into this language Preserves metadata about the components Verified for type safety JIT compiled into native assembly language for execution

© Bei-Tseng Chu March 2002 ASP.NET Solve the following problems of classic ASP Interpreted ASP/VB scripts Lack of maintainability as all components are contained in one file State Management Use of COM objects/lack of interoperability

© Bei-Tseng Chu March 2002.NET My Service User store identity information in the Passport. Web services can cooperate and share information under the control of information owner Routing: specify the routing path of a SOAP message and also what part of the message is intended for which receiver Referral: how a SOAP intermediary can modify the routing Security: SOAP does not address message security. Credentials: authenticate the origin of the message Integrity: verification of message integrity (digital signature) Confidentiality: encryption of SOAP messages Microsoft Passport Provide a single Internet identity accepted by many sites User authentication by sites can be handled indirectly through MS Passport server system A single passport ID and password can get one into multiple sites

© Bei-Tseng Chu March 2002 XML-RPC: forerunner to SOAP XML formatted message Using HTTP Post to transmit the message Enable any web service with CGI interface to accept the message Universal acceptance, even through firewalls! Many implementations:

© Bei-Tseng Chu March 2002 An example XML-RPC Request POST /RPC2 HTTP/1.0 User-Agent: Frontier/5.1.2 (WinNT) Host: someserver.com Content-Type: text/xml Content-length: 181 lookup.getStateFromAreaCode 512

© Bei-Tseng Chu March 2002 An example of Response to the Request HTTP/ OK Connection: close Content-length: 158 Content-Type: text/html Date: Fri, 17 Jan :50:13 GMT Server: UserLand Frontier/5.1.2-WinNT Texas s

© Bei-Tseng Chu March 2002 SOAP (Simple Object Access Protocol) SOAP defines XML based format for sending messages Envelope Data encoding RPC convention Unlike XML-RPC, SOAP tries to be neutral to transportation protocol HTTP SMTP Java Message Service.Net also uses SOAP as the RPC mechanism

© Bei-Tseng Chu March 2002 A generalized SOAP architecture HTTP SMTP FTP JMS Others SOAP Envelope SOAP Server Application

© Bei-Tseng Chu March 2002 Deployment Descriptor (APPACHE) <isd:provider type=“java” scope=“Application” methods=‘getPubCount getModDate getByCode”> org.apache.soap.server.DOMFaultListener

© Bei-Tseng Chu March 2002 Java methods for the server package com.lanw.soapsrvr; Import java.util.*; Import org.w3c.dom.Element; Public class PubsServer { //…. Public Element getByCode( String code) throws SOAPException { //…. } /…. }

© Bei-Tseng Chu March 2002 Client using the service //…. URL url = new URL(“http”, “ 8080, “soap/servlet/rpcrouter”); Call call = new Call(); call.setMethodName(“getByCode”); Vector params = new Vector(); Params.addElement(new Parameter(“param”,String.class,”1234”, Constants.NS_URI_SOAP_ENC)); call. setParams(params); Try { resp=call.invoke(url, “ “); } catch (SOAPException e) { //… }

© Bei-Tseng Chu March 2002 Universal Description, Discovery, and Integration (UDDI) Directory for web services XML formatted information for Contact points “white page” Industry classification “yellow pages” Web service discovery “green page”, technical information UDDI registry

© Bei-Tseng Chu March 2002 Web Service Description Language (WSDL) Defines a web/network service End point Accepts messages Key elements of a web service Documentation – English description Types – data type (e.g. structure) Message – message format PortType – Java class and their operations Binding – protocols for message or portType Service – Specifies web addresses WSDL description may be automatically generated based on Java class definitions