23_WebServices - CSI 3540 Structures, techniques et normes...

Info iconThis preview shows pages 1–15. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSI 3540 Structures, techniques et normes du Web Friday, April 9, 2010 Objectif: Introduction XML Schema Introduction aux vocabulaires SOAP et WSDL Comprendres les relations entre XML Schema , SOAP et WSDL Lectures: Web Technologies (2007) Pages 502525 XML Schema, SOAP, WSDL Friday, April 9, 2010 Plan 1. XML Schema 2. WSDL 3. SOAP Friday, April 9, 2010 Les Services Web supportent les interactions machine-machine travers un rseau Un Service Web supporte les changes de messages XML ( SOAP ) entre clients et serveurs laide de HTTP Les (oprations) services sont dcrits laide dun document XML ( WSDL ) SOAP et WSDL font appel XML Schema pour dFnir la syntaxe des messages et dFnir les oprations, paramtres et valeurs de retour (particulirement leurs types) Friday, April 9, 2010 Service Web a software system designed to support interoperable Machine to Machine interaction over a network (W3C) API Web Messages SOAP via HTTP Descriptions WSDL Rpertoires UDDI Friday, April 9, 2010 Service Web Repose sur des standards ouverts (HTTP, XML) Independant de tout langage de programmation, environment, SE Modulaire Friday, April 9, 2010 Source : http://java.sun.com/developer/technicalArticles/WebServices/WSPack2/jaxrpc.html Friday, April 9, 2010 Pile de protocoles de communication Couche Technologie Rpertoire UDDI Description WSDL Message SOAP Transport HTTP Friday, April 9, 2010 Schma XML Mta-langage Friday, April 9, 2010 Un vocabulaire (application) XML est une spcifcation complte des lments et attributs dun type spcifque de documents XML 1. Langue naturelle (petits groupes) 2. Dclarations de type de document ( DTD ) (documents publiques) 3. XML Schema Vocabulaire XML Friday, April 9, 2010 Un autre formalisme ? Le DTD est peu expressif Le DTD contraint la structure du document (ordre et imbrication des lments), mais pas le contenu textuel <!ENTITY % address "(street, city, province, postal-code)" > <!ELEMENT street (#PCDATA) > <!ELEMENT city (#PCDATA) > <!ELEMENT province (#PCDATA) > <!ELEMENT postal-code (#PCDATA) > Friday, April 9, 2010 Un autre formalisme ? Le DTD ne supporte pas les espaces de nommage Ainsi, si a.dtd importe le contenu de b.dtd ( laide dune directive), il faut au pralable sassurer que les noms dlments sont uniques a:name et b:name Friday, April 9, 2010 Schma XML Un schma dfnit une classe de documents XML Un document qui satisfait un schma est une instance de ce schma Un Schma XML est un document XML ! Puisque cest un document XML, les espaces de nommage sont supports et lon bnficie de la panoplie doutils XML Friday, April 9, 2010 <? xml version = "1.0" encoding = "UTF-8" ?> < xs : schema xmlns:xs = "http://www.w3.org/2001/XMLSchema" targetNameSpace = http://www.site.uottawa.ca/tennis > < xs : element name = "score" >...
View Full Document

Page1 / 80

23_WebServices - CSI 3540 Structures, techniques et normes...

This preview shows document pages 1 - 15. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online