XML Over The Web Today Dino Esposito Wrox Press 6-313.

Slides:



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

Indigo Jonathan Turnbull Nick Cartwright Ivan Konontsev Chris Bright.
31242/32549 Advanced Internet Programming Advanced Java Programming
Chapter 11 Database Applications Using Internet Technology David M. Kroenke Database Processing © 2000 Prentice Hall.
General introduction to Web services and an implementation example
1 Understanding Web Services Presented By: Woodas Lai.
.NET Remoting. .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components.
SOAP Ashish V. Tendulkar Directory Database integration group ( Persistent Systems Pvt. Ltd. Pune (
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 42 Web Services.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
Slide 1 EE557: Server-Side Development Lecturer: David Molloy Room: XG19 Mondays 10am-1pm Notes:
Web Services Andrea Miller Ryan Armstrong Alex. Web services are an emerging technology that offer a solution for providing a common collaborative architecture.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
SOAP Chandra Dutt Yarlagadda Introduction  Why ?  What ?  How ?  Security Issues in SOAP  Advantages  Uses  Conclusion.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Session-01. What is a Servlet? Servlet can be described in many ways, depending on the context: 1.Servlet is a technology i.e. used to create web application.
Web Service What exactly are Web Services? To put it quite simply, they are yet another distributed computing technology (like CORBA, RMI, EJB, etc.).
INTRODUCTION TO WEB DATABASE PROGRAMMING
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
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. Need for web services JEE provides a component based approach to development of n-tier applications Limitations Primarily designed for Java.
Web Services Overview Ashraf Memon. 2 Overview Service Oriented Architecture Web service overview Benefits of Web services Core technologies: XML, SOAP,
1 G52IWS: Distributed Computing Chris Greenhalgh.
CS590VC – Tutorial 9 Calling Web Services from Second life.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Enabling Embedded Systems to access Internet Resources.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Microsoft ® ASP.NET Presented by Joseph J. Sarna Jr. JJS Systems, LLC.
WEB SERVICES Mahmoud Rabie – EGJUG W EB SERVICES The world before Situation Problems Solutions Motiv. for Web Services Probs. with Curr. sols. Web.
CSCI 6962: Server-side Design and Programming Web Services.
CSC8530 Distributed Systems XML Web Services David Vaglia.
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.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Dynamic Content On Edge Cache Server (using Microsoft.NET) Name: Aparna Yeddula CS – 522 Semester Project Project URL: cs.uccs.edu/~ayeddula/project.html.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
SOAP TECHNOLOGY What is SOAP ? SOAP is a simple, lightweight XML protocol for exchanging exchanging structured and typed information on the Web Extensible.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Web Services Presented By : Noam Ben Haim. Agenda Introduction What is a web service Basic Architecture Extended Architecture WS Stacks.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
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.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
1 Introduction to Servlets. Topics Web Applications and the Java Server. HTTP protocol. Servlets 2.
Introduction to Web Services. Agenda Motivation History Web service model Web service components A walkthrough examples.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Web Services. 2 Internet Collection of physically interconnected computers. Messages decomposed into packets. Packets transmitted from source to destination.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
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.
CORBA AND SOAP Unmesh Kulkarni i2 Group Ashish V. Tendulkar Directory Database integration group ( Persistent Systems Pvt. Ltd.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Lect5.ppt - 02/23/06 CIS 4100 Systems Performance and Evaluation Lecture 6 by Zornitza Genova Prodanoff.
SOAP, Web Service, WSDL Week 14 Web site:
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Database Applications Using Internet Technology
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
AJAX and REST.
Unit – 5 JAVA Web Services
WEB API.
Web Server Administration
The future of distributed systems architecture
Chapter 42 Web Services.
Presentation transcript:

XML Over The Web Today Dino Esposito Wrox Press 6-313

Agenda Present and future of XML and HTTP Present and future of XML and HTTP XmlHttpRequest XmlHttpRequest Using XmlHttpRequest in Visual C++ ® apps Using XmlHttpRequest in Visual C++ ® apps Architecturally speaking… Architecturally speaking…

Why XML Text-based and human-authorable Text-based and human-authorable Available on (almost) all platforms Available on (almost) all platforms Great for describing data Great for describing data Designed to be simple and effective Designed to be simple and effective

Why HTTP Broadly accepted Broadly accepted Jumps through firewalls Jumps through firewalls Designed to be simple but effective Designed to be simple but effective  No runtime support unlike DCOM

Why XML And HTTP Another (better?) component model Another (better?) component model Increase interoperability Increase interoperability No mandated API or runtime No mandated API or runtime Industry standards Industry standards

The World Without XML HTML and ASP HTML and ASP  Server-side pages Remote data services Remote data services  COM calls through HTTP Remote scripting Remote scripting  ECMAScript calls through HTTP

The World Without HTTP DCOM DCOM  Complexity and dynamic ports COM Internet services COM Internet services  DCOM over HTTP via tunneling TCP Internet InterORB protocol Internet InterORB protocol  Protocol to connect different ORBs

The World With XML+HTTP Connect to remote services Connect to remote services  Platform and language neutrality Send and receive XML text Send and receive XML text Get the best of both worlds Get the best of both worlds  Encoding and data representation  Connect to a Linux CGI from Visual Basic ® !

SOAP Breaks In Services over the network Services over the network  Connect through HTTP  Communicate through XML An XML-based language for remote method invocation An XML-based language for remote method invocation Open specification with trial implementations Open specification with trial implementations Doesn’t reinvent any wheel Doesn’t reinvent any wheel

Agenda Present and future of XML and HTTP Present and future of XML and HTTP XmlHttpRequest XmlHttpRequest Using XmlHttpRequest in Visual C++ apps Using XmlHttpRequest in Visual C++ apps Architecturally speaking… Architecturally speaking…

XmlHttpRequest? Part of MSXML ( Microsoft.XMLHTTP ) Part of MSXML ( Microsoft.XMLHTTP ) Arbitrary HTTP requests and responses Arbitrary HTTP requests and responses Does not use SOAP (yet?) Does not use SOAP (yet?)

XmlHttpRequest And SOAP Client Web Service SOAP Request SOAP Response Web Service COM-based client XmlHttpRequest URL XMLDOM

How It Works Create an instance of the object Create an instance of the object Set operation and URL Set operation and URL Send data Send data Get the response Get the response  Raw text, XMLDOM, IStream, array

A XMLHTTP Request Set xmlhttp = CreateObject("Microsoft.XMLHTTP") xmlhttp.open "GET", “ false false xmltext = " MSDN " Set xmldom = CreateObject("Microsoft.XMLDOM") xmldom.loadXML xmltext xmlhttp.send xmldom

A XMLHTTP Response <% set xmldom = Server.CreateObject("Microsoft.XMLDOM") xmldom.load(Request) set n = xmldom.selectSingleNode("magazine") n.text = “MSDN Magazine" strText = “New text is: " & xmldom.xml Response.Write strText %>

Methods And Properties

Agenda Present and future of XML and HTTP Present and future of XML and HTTP XmlHttpRequest XmlHttpRequest Using XmlHttpRequest in Visual C++ apps Using XmlHttpRequest in Visual C++ apps Architecturally speaking… Architecturally speaking…

Example #1 C++ application that utilizes the component C++ application that utilizes the component XmlHttpRequest

Example #2 MFC application that fills its own UI with XML data taken from an ASP page MFC application that fills its own UI with XML data taken from an ASP page XmlHttpRequest

Exchanging XMLDOM Use send to pass an XMLDOM Use send to pass an XMLDOM Target ASP pages process it Target ASP pages process it  xml.loadXML(Request) ASP page returns XML text ASP page returns XML text  Set ContentType to text/xml  Use responseXML to retrieve it

Agenda Present and future of XML and HTTP Present and future of XML and HTTP XmlHttpRequest XmlHttpRequest Using XmlHttpRequest in Visual C++ apps Using XmlHttpRequest in Visual C++ apps Architecturally speaking… Architecturally speaking…

Web Services Any service available on the Web Any service available on the Web  Components, applications, servers, pages Platform and language neutrality Platform and language neutrality Web services versus DCOM Web services versus DCOM

New Web Apps Web client Web Server Operating System Components Any platform! DataStore Win32 client Other platform client