EGEE is a project funded by the European Union under contract IST-2003-508833 WSDL Using www.eu-egee.org.

Slides:



Advertisements
Similar presentations
FpML Versioning An AWG Discusion Document. Namespace URIs & Versions An XML parser locates the schema for a document based on its namespace URI To be.
Advertisements

On and use=document|rpc, style=literal|encoded A personal opinion Sanjiva Weerawarana IBM Research September 9-11, 2002.
Attributes Task Force Progress Report WSD Attributes Task Force November 4 th, 2003 WSDL F2F.
Working with Forms. how are forms manipulated? the document object contains an array of forms objects, one for each form, in document order –forms[] any.
EGEE is a project funded by the European Union under contract IST WSDL Web Service Description Language
Best Practices in Web Service Style, Data Binding and Validation (for use in Data-Centric Applications) David Meredith, Asif Akram, Rob Allan CCLRC Daresbury.
Introduction to Web Services Protocols. Talk titledate2 Communication and standards Efficient (or indeed any) communication is dependent on a shared vocabulary.
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
CSPP51038 WSDL in depth. Advanced Schema features (required for understanding wsdl)
XML: Extensible Markup Language
XML: text format Dr Andy Evans. Text-based data formats As data space has become cheaper, people have moved away from binary data formats. Text easier.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
An Introduction to XML Based on the W3C XML Recommendations.
EGEE is a project funded by the European Union under contract IST WSDL Web Service Description Language 3 – 4 June
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
3d.1 More on XML XML Schema Definition Language (XSD)
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
The Information School at the University of Washington LIS 549 U/TU: Intro to Content Management Fall 2003 * Bob Boiko * MSIM Associate Chair XML Schemas.
Unit 4 – XML Schema XML - Level I Basic.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
WSDL Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Schemas Ellen Pearlman Eileen Mullin Programming the Web Using XML.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Session IV Chapter 9 – XML Schemas
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
New Perspectives on XML, 2nd Edition
An OO schema language for XML SOX W3C Note 30 July 1999.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
XML Basics A brief introduction to XML in general 1XML Basics.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
INFSY 547: WEB-Based Technologies Gayle J Yaverbaum, PhD Professor of Information Systems Penn State Harrisburg.
EGEE is a project funded by the European Union under contract IST XML Schema 3 – 4 June
Cascading Style Sheets CSS. Source W3Schools
XML A Language Presentation. Outline 1. Introduction 2. XML 2.1 Background 2.2 Structure 2.3 Advantages 3. Related Technologies 3.1 DTD 3.2 Schemas and.
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
XML Schema Definition (XSD). Definition of a Schema It is a model for describing the structure and content of data The XML Schema was developed as a content.
XML, SCHEMAS, DTD The primer Brendan Knight. XML  XML stands for eXtensible Markup Language.  XML is designed to transport and store data.  Contains.
Introduction to DTD A Document Type Definition (DTD) defines the legal building blocks of an XML document. It defines the document structure with a list.
EGEE is a project funded by the European Union under contract IST SOAP Simple Object Access Protocol 3 – 4 June
1 WS-Policy. 2 What’s the Problem? To use a web service a client needs more information than is provided in WSDL file. Examples: –Does service support.
EGEE is a project funded by the European Union under contract IST WSDL Which WSDL Style ?
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
XML Extensible Markup Language
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
EGEE is a project funded by the European Union under contract IST WSDL Which WSDL Style ? 17 th October
CITA 330 Section 4 XML Schema. XML Schema (XSD) An alternative industry standard for defining XML dialects More expressive than DTD Using XML syntax Promoting.
CITA 330 Section 2 DTD. Defining XML Dialects “Well-formedness” is the minimal requirement for an XML document; all XML parsers can check it Any useful.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Week-12 (Lecture-1) Cascading Style Sheets (CSS): describe how documents are presented on screens. Types of Style Sheets: External Style Sheet - Define.
Design Thoughts for JDSL 2.0
XML QUESTIONS AND ANSWERS
WSDL Using <import>
Web Programming Maymester 2004
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Namespace Review 21-Nov-18.
Namespace Review 29-Dec-18.
New Applications Modeled
Namespace Review 14-Oct-19.
New Perspectives on XML
Presentation transcript:

EGEE is a project funded by the European Union under contract IST WSDL Using

Talk titledate2 Goals To examine the uses of the import element in WSDL documents To see how the use of this element can contribute to re-use and maintainability in WSDL documents.

Talk titledate3 One document or many WSDL documents are often thought of and created as single monolithic entities. In order to enhance manageability and re- use of WSDL, where it is created manually, the document can be split into sub – documents. To do this we use the WSDL tag.

Talk titledate4 element <definitions targetNamespace=“urn:3950” xmlns= “ xmlns:xsd= “ xmlns:soap= “ xmlnssoapenc= “ xmlns:tns= “urn:3950”> Acts like C/C++ #include, or Java import. Incorporates external namespaces

Talk titledate5 An example of adding complex data types We can examine an example of how to include a complex data type without making our WSDL overly long. The example is based around a notional service book service which contains an ‘object’ BookInfo We will split the definitions into two XMLSchema files (a schema may only contain single element).

Talk titledate6 Service related definitions bookTypes.xsd <schema targetNamespace=“urn:jwsnut.chapter2.bookservice/types/BookQuery” ………>

Talk titledate7 JAX-RPC specific type definitions baseTypes.xsd

Talk titledate8 Comparing the schema These are each free standing XMLSchema documents Each has its own element and declares a target namespace for its definitions. These namespaces are different. bookTypes.xsd uses the book service namespace baseTypes.xsd uses the private JAX-RPC reference implementation namespace.

Talk titledate9 Using these schema in WSDL <import namespace=“ ri/internal” location=“baseTypes.xsd”/> …………………

Talk titledate10 attributes The WSDL import element must have: namespace – the namespace which the definitions are to be imported into. This must match the target namespace defined in the imported schema location – a URI which indicates where the imported definitions can be found

Talk titledate11 Inline or imported? Imported types are not wrapped in the element. It is possible to mix imported and inline definitions within the same document. Inline definitions are within elements.

Talk titledate12 Mixed import, inline example <import namespace=“ ri/internal” location=“baseTypes.xsd”/>

Talk titledate13 Nesting inclusion of types There is also a XMLSchema import element which allows definitions to be referenced from one schema to another Similar to nested #includes in C++ header files This is different to the WSDL import element and inhabits the XMLSchema namespace The XMLSchema import element allows definitions from a different namespace to the target namespace for its parent schema

Talk titledate14 Schema import example <import namespace=“ ri/internal” schemaLocation=“baseTypes.xsd”/>

Talk titledate15 Importing other types of definition The WSDL import element can be used to include all types of definitions that can appear in a WSDL document. Each set of definitions could be separated out into a different document. This can aid re-use. For instance the generic definitions of a web service can be separated from the service element. This would allow a single service definition to describe several different instances of a service at different locations.