Web Services November 2001. Interoperability “the ability to freely exchange all kinds of spatial information about the Earth and about objects and phenomena.

Slides:



Advertisements
Similar presentations
Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
Advertisements

Web Service Architecture
ADO vs ADO.NET ADOADO.NET Client/server coupledDisconnected collection of data from data server Uses RECORDSET object (contains one table) Uses DATASET.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
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)
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Objective In this session we will discuss about : What is ADO. NET ?
Web Services November Interoperability “the ability to freely exchange all kinds of spatial information about the Earth and about objects and phenomena.
Distributed Data Analysis & Dissemination System (D-DADS) Prepared by Stefan Falke Rudolf Husar Bret Schichtel June 2000.
ODBC Open DataBase Connectivity a standard database access method developed by Microsoft to access data from any application regardless of which database.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
Chapter 8 Binding Data to Web Controls. ASP.NET 2.0, Third Edition2.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
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.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
Web Services November Web Services as Program Components A Web Service is a URL addressable resource that returns requested data, e.g. current weather.
Visual Studio ®.NET Data with XML Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft Modified.
Web Services Architecture1 - Deepti Agarwal. Web Services Architecture2 The Definition.. A Web service is a software system identified by a URI, whose.
Distributed Communication via ASP.Net Web Services and.Net Remoting By Richard King.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
Lecture 15 Introduction to Web Services Web Service Applications.
Needs for Accessing Database To make your web site more dynamic and maintainable, you can display information on your web pages that are retrieved from.
Databases and Data Access  Introduction to ADO.NET  ADO.NET objects  ADP.NET namespaces  Differences between ADO and ADO.NET.
Moving from Microsoft ® ADO 2.X To ADO.NET Jackie Goldstein Renaissance Computer Systems Ltd. MSDN Regional Director, Israel Prerequisites.
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.
Objectives In this lesson, you will learn to: *Identify the need for ADO.NET *Identify the features of ADO.NET *Identify the components of the ADO.NET.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Module 9: Accessing Relational Data Using Microsoft Visual Studio.NET.
Session 8: ADO.NET. Overview Overview of ADO.NET What is ADO.NET? Using Namespaces The ADO.NET Object Model What is a DataSet? Accessing Data with ADO.NET.
Module 7: Accessing Data by Using ADO.NET
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
Web Services Presented By : Noam Ben Haim. Agenda Introduction What is a web service Basic Architecture Extended Architecture WS Stacks.
Presented by Joseph J. Sarna Jr. JJS Systems, LLC
1 Web Services Web and Database Management System.
Kemal Baykal Rasim Ismayilov
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
CSIT 220 (Blum)1 Remote Procedure Calls Based on Chapter 38 in Computer Networks and Internets, Comer.
ASP.NET Web Services.  A unit of managed code installed under IIS that can be remotely invoked using HTTP.
Distributed Data Analysis & Dissemination System (D-DADS ) Special Interest Group on Data Integration June 2000.
Web Services An Introduction Copyright © Curt Hill.
ADO.NET FUNDAMENTALS BEGINNING ASP.NET 3.5 IN C#.
Module 4 Introduction ADO.NET.
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.
.NET Mobile Application Development XML Web Services.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Data Access. ADO.NET ADO.NET is the primary library for building database solutions within the.NET Framework. ADO.NET does not replace ADO. ADO and OLEDB.
ADO .NET from. ADO .NET from “ADO .Net” Evolution/History of ADO.NET MICROSOFT .NET “ADO .Net” Evolution/History of ADO.NET History: Most applications.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Integrating Data Lesson 6.
WEB SERVICES.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Chapter 10 ADO.
Database Applications
Presentation transcript:

Web Services November 2001

Interoperability “the ability to freely exchange all kinds of spatial information about the Earth and about objects and phenomena on, above, and below the Earth’s surface; and to cooperatively, over networks, run software capable of manipulating such information.” (Buehler & McKee, 1996) Such a system has two key elements: Exchange of meaningful information Cooperative and distributed data management One requirement for an effective distributed environmental data system is interoperability, defined as,

Web Services as Program Components A Web Service is a URL addressable resource that returns requested data. The ‘service provider’ resides on the Internet. Web Services allow computer to computer communication, regardless of their language or platform. Web Services are reusable components, as ‘LEGO blocks’, that can be integrated to create larger, richer applications. Example web services are: current weather server, currency converter, map server. Web Services use standard web protocols: SOAP, XML, HTTP. (Need a picture here: service provider-clients architecture) WS transform the web from a medium for viewing and downloading to a distributed computing and data/knowledge-exchange platform.

Web Services Current distributed application methodologies, DCOM, CORBA, RMI, are for homogeneous environments, not for suitable integration across the heterogeneous Internet. Web Services provide simple, flexible Web-standards-based model for integrating applications from reusable, interoperable components. This allows agile application development by making it simple to integrate resources within and outside the organization. 3-Tier Architecture: Presentation, Business Logic and Data Access Presentation, Business Logic and Data Access

Web Services: Connect, Communicate, Describe, Discover Enabling Protocols of the Web Services architecture: Connect: Extensible Markup Language (XML) is the universal data format that makes connection and data sharing possible. Communicate. Simple Object Access Protocol (SOAP) is the new W3C protocol for data communication, e.g. making requests. Describe. Web Service Description Language (WSDL) describes the functions, parameters and the returned results from a service Discover. Universal Description, Discovery and Integration (UDDI) is a broad W3C effort for locating and understanding web services.

Web Services Enabled by Standards Web Services operate ‘on top’ of many layers of Internet standards, TCP/IP, HTTP… Web services also the use an array of its own standards - some still in development. The data sharing standards for are to facilitate discovery, description and invocation Discovery UDDI Disco Description WSDLWSDL, XSchemaXSchema XSD, XSI Invocation SOAP XML On top of these Internet and Web Service Standards, we will need to develop our own: Naming conventions Metadata standards Uniform database schemata, etc

Protocols for Web Services The industry standard protocols for Web Services are defined by the W3C Consortium. –Data are described by the Simple Object Access Protocol (SOAP) –Data are expressed using Extensible Mark-up Language (XML) –Transmitted using Hyper Text Transport Protocol (HTTP). SOAP is an XML-based protocol for distributed data exchange consisting of : –Envelope describing what is in a message and how to process it –A set of encoding rules for expressing data types –A convention for representing remote procedure calls and responses –A binding convention for exchanging messages Middle-tier-to-middle-tier method invocation Technology: Serialization of calls into XML packages HTTP Get/Post or SOAP The XML transport for Web Services is plain text, so it can make it across firewalls

Windows Forms for User Interface Windows Forms framework for User Interface building, has VB6’s ease of development: drag and drop of controls to a form layout. Event handlers are the.NET way: mapped to a.NET delegate. The code binding controls to methods is more exposed, as in MFC. Has new development service Visual Inheritance.

ASP.NET: Dynamic Web pages Easy WebApp development –drag-drop of controls on a WebForm –Binding control properties to class members and event handlers Controls execute on serve but render themselves in HTML User input at browser is posted to the server as class data and as properties No need to know HTML – rendering is done by the controls Clear separation of UI (form layout) and ‘business logic’ behind the form ASP.Net is compiled for high performance Automatic Validation Controls on the client makes input more robust Automatic data biding of data source to controls – i.e Data Grid

ADO.NET: Remote Database Access Microsoft ADO.NET PPT Microsoft ADO.NET PPT ADO.Net is a set of classes (DataSet and DataAdapter) to access remote data sources; it decouples data source from data consumer through indirection DataSet is a data container object of structured information on a set of tables; it can can locally cash portions of the database and synchronize changes Each DataSet object is associated with a subclass of DataAdapter tailored to interact with a particular data source, e.g. SQLAdopter To change the data source, the consumer need only to change the DataAdapter User can access tables as properties of DataSet – no need to know SQL While in transit, XML data can pass through firewalls over regular HTTP port.

ADO.NET: DataSet and DataAdapter, anotherDataSet and DataAdapteranother The DataSet is a container object for one or more DataTables, DataRelations and Constraints. To draw a comparison to classic ASP/ADO, the DataTable is analogous to a RecordSet, and the DataSet is a container for one or more DataTables. DataSet knows nothing about particular data access interfaces like OLEDB or ODBC The DataAdapter is the bridge between a DataSet and the data source, such as a Microsoft SQL Server database. The DataAdapter manages creating and opening a Connection, executing a Command, returning a DataReader, populating a DataTable and closing the DataReader and Connection. This can be done multiple times to populate multiple DataTables in the same DataSet. Using a DataSet and DataAdapter is more memory intensive than using a DataReader, since all of the records returned are populated into a DataTable (taking up valuable system resources). The DataReader streams data, using up the memory required for only one record at a time. With that said, there are instances when you would want to use a DataSet and DataAdapter, such as when you need to manipulate the data, iterate through it, or alter it and update it.

DataSetDataSet: a Small Relational Database DataRelation objects link related DataTable objects in the DataSet, providing referential integrity features similar to a database. The DataTable objects can be nested to whatever depth is necessary to replicate the structure of a hierarchical XML document or a relational database. A DataTable can access its relevant linkages using its child and parent Data Relation collections. DataRows make the navigation in a hierarchy even simpler using the GetChildRows() command with the DataRelation name as a parameter. The DataTable fulfills the role of a database table The DataColumn determines the data type and name of the column The DataConstraint adds extended information such as primary key,… A collection of DataRow objects holds the data in the DataTable The DataRow also plays the part of an updateable cache ( a cursor???)

DataAdapterDataAdapter: Accessing the Data Each.NET data provider has a DataAdapter object: OleDbDataAdapter, SqlDataAdapter (can we make DataAdapters to legacy data servers?) The SelectCommand property of the DataAdapter retrieves data from the data source. The InsertCommand, UpdateCommand, and DeleteCommand properties manage updates to the data in the data source. updates The Fill method populates a DataTable object in a DataSet with the results of the SelectCommand

Distributed Data Browser Architecture XML Web Services Satellite Vector GIS Data XDim Data OLAP Cube SQL Table HTTP Services Text Data Web Page Text Data Time Chart Scatter Chart Text, Table Data Views Layered Map Cursor Session Manager (Broker) Data View Manager Connection Manager Data Access Manager Cursor-Query Manager OpenGIS Services Data are rendered by linked Data Views (map, time, text) Distributed data of multiple types (spatial, temporal text ) The Broker handles the views, connections, data access, cursor

.NET Data Providers - A Basic Tutorial Now, the.NET Data provider can be manifested as SQL Server data provider, OLEDB data provider or the ODBC Data Provider. For the time being I'll be taking you through this article in the context of the first two Data providers. SQL Server Data provider is the most efficient way to connect to an SQL Server Database(version 7.0 onwards). It uses a proprietary protocol for connecting to the Database which results in optimized usage of the SQL Server database along with faster data transactions. The System.Data.Sqlclient namespace contains classes for the SQL Server data provider. OLEDB Data Provider is used with databases that support the OLE DB interfaces. ADO.NET supports the following OLE DB Providers SQLOLEDB - Microsoft OLE DB Provider for SQL Server MSDAORA - Microsoft OLE DB Provider for Oracle Microsoft.Jet.OLEDB OLE DB Provider for Microsoft Jet