A namespace prefix is defined with a xmlns attribute using the syntax xmlns:prefix="uri".
|
|
- Alison O’Neal’
- 6 years ago
- Views:
Transcription
1 Question 1 XML Syntax and Basics (a) What are 'namespaces' used for in relation to XML and how are they applied to an XML document?(2 marks) Namespaces are used to avoid element name conflicts when using/mixing XML elements with the same name from different markup languages in a single document by using name prefixes. A namespace prefix is defined with a xmlns attribute using the syntax xmlns:prefix="uri". (b) Describe one major difference between XML elements and XML attributes.(1 mark) Elements can be used to represent structured data and have other elements as children whereas an attribute can only have a single value and belongs to one element. (c) How do #FIXED, #IMPLIED and #REQUIRED attributes defined in a DTD differ from each other? (3*2 = 6 marks) FIXED IMPLIED the attribute is required and is set to a fixed value that must be specified in the DTD and can not be changed by the XML document. the attribute is optional and a default value is assumed (supplied) by the application and is used by the application. REQUIRED the attribute is required to be present and has no default value. Page 1 of 14
2 (d) Rewrite and correct the syntax errors for the following xml document: Note: You may rename elements and attributes if required.( 6 marks ) 01 <?xml version=1.0 encoding=utf-8?> 02 <Monthly Sales Report> 03 <title>monthly Sales Report</title> 04 <xml_description> 05 <product id=989 > 06 <name>jabberwocky Trap</name> 07 <qtyinstock>3<qtyinstock /> 08 <unitprice>16.00<unitprice> 09 </Product> 10 <!---- orders ----> 11 <sales> 12 <date = ' ' > 13 <details customer_id='123-mel'> 14 < qty> 5 </qty> 15 <discount /> 16 </details> <date = ' ' > 19 <details customer id='547-ben'> 20 <qty>10</qty> 21 <discount>10%</discount> 22 </details> 23 </sales> 24 </xml_description > 25 </Monthly Sales Report> 01 <?xml version='1.0' encoding='utf-8'?> 02 <Monthly_Sales_Report> 03 <title>monthly Sales Report</title> 04 <description> 05 <product id='989' > 06 <name>jabberwocky Trap</name> 07 <qtyinstock>3</qtyinstock> 08 <unitprice>16.00</unitprice> 09 </product> 10 <!-- ** orders ** --> 11 <sales> 12 <date value = ' ' /> 13 <details customer_id='123-mel'> 14 <qty> 5 </qty> 15 <discount /> 16 </details> <date value = ' ' /> 19 <details customer_id='547-ben'> 20 <qty>10</qty> 21 <discount>10%</discount> 22 </details> 23 </sales> 24 </description > 25 </Monthly_Sales_Report> (1) Missing quotes ( line 01 and 05 ) (2) XML and attribute names cannot contain white space (lines 02, 19 and 25 ) (3) XML names should not start with xml ( line 04 and 24 ) (4) non terminated elements ( product line 05 qtyinstock line 07 and unitprice line 08) (5) XML comments can not contain more than two consecutive hyphens (line 10) (6) missing element name (lines 12 and 18) ( = 15 Marks) Page 2 of 14
3 Question 2.- Parsers and XML document object model (a) What is the primary purpose of an XML parser? Primary purpose of an XML Parser is to make the document's data available for use by a computer application by implementing an API that exposes the elements and their children. Parsers can also validate a document against its schema or DTD. (0.5marks) (b) Sometimes to speed up the processing of an XML document it is desirable not to perform validation on the document. Under what circumstances would you consider using the document without first validating it against a DTD or Schema? ( 2 marks) Validation can be disabled for non critical data where incorrect document structure and/or data values are inconsequential to the application. Validation can be disabled if the document has already been validated by a different application prior to being processed by the current application. (c) Suppose that you have a large XML document where you are interested in extracting data from a small number of elements one time only. i. Which parser is most suited to this problem? (1 mark ) SAX ii. Briefly describe the way that DOM-based parsers and SAX-based parsers work in relation to the computing resources required by each approach and the algorithms used to locate the desired elements. DOM based parsers load the entire xml document into a tree structure stored in memory and use the DOM API to access and modify elements in the DOM tree. DOM is most suitable for modifying or adding to the xml document.( 2 marks ) SAX parsers use a state machine approach with callback methods registered to document events such as opening an element and closing an element. SAX parsers have lower memory and CPU overheads compared to DOM based parsers and are more suitable for extracting data from a xml document. (2 marks ) iii. Is there any significant difference between the performance of DOM based and SAX based parsers for large documents when you are only interested in extracting data from a small number of elements once? Why? ( 2 marks ) Yes, there can be a significant difference between the performance of DOM based and SAX based parsers for large documents. DOM requires much more memory to hold the entire document as a tree structure and uses CPU intensive tree traversal algorithms to extract the data. SAX sequentially reads the xml document from beginning to end discovering and extracting the desired data as it progresses without storing the entire document in memory. Page 3 of 14
4 (d) The name element is used for two purposes in the following XML code fragment. Rewrite the code to use name spaces to differentiate between the name elements. Your answer must demonstrate how to map name space prefixes to unique name spaces. (4 marks) <?xml version="1.0" encoding="utf-8"?> <author> <name> <first>jane</first> <last>brown</last> </name> <phone> </phone> <publications> <name>introduction to Java</name> <name>programming Web Services</name> <name>xml Basics</name> </publications > </author> <?xml version="1.0" encoding="utf-8"?> <author xmlns:auth=" xmlns:p=" > <auth:name> <first>jane</first> <last>brown</last> </auth:name> <phone> </phone> <publications> <p:name>introduction to Java</p:name> <p:name>programming Web Services</p:name> <p:name>xml Basics</p:name> </publications > </author> ( ( ) + 4 = 15 marks) Page 4 of 14
5 Question 3 Schema and Validation The following schema is located in a file named q3.xsd and is used to validate the XML document on the next page. <?xml version="1.0" encoding="utf-8"?> <xsd:schema xmlns:xsd=" targetnamespace=" xmlns:tns=" elementformdefault="qualified"> <xsd:element name="team" > <xsd:complextype> <xsd:sequence> <xsd:element name="player" type="tns:playertype" maxoccurs="unbounded" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" /> </xsd:complextype> </xsd:element> <xsd:complextype name="playertype"> <xsd:sequence> <xsd:element name="registrationnumber" type="tns:registrationnumbertype" /> <xsd:element name="guernseynumber" type="xsd:positiveinteger" /> <xsd:element name="name" type="xsd:string" /> <xsd:element name="gamesplayed" type="xsd:nonnegativeinteger" minoccurs="0" /> <xsd:element name="totalpoints" type="xsd:integer" minoccurs="0" /> <xsd:element name="image" type="tns:imagetype" minoccurs="0" maxoccurs="unbounded" /> <xsd:element name="comments" minoccurs="0" /> </xsd:sequence> <xsd:attribute name="category" default="seniors"> <xsd:simpletype> <xsd:restriction base="xsd:string"> <xsd:enumeration value="u18" /> <xsd:enumeration value="reserves" /> <xsd:enumeration value="seniors" /> </xsd:restriction> </xsd:simpletype> </xsd:attribute> </xsd:complextype> <xsd:simpletype name="registrationnumbertype"> <xsd:restriction base="xsd:string"> <xsd:pattern value="[xyz]{2}-\d{3}-[a-c]{1}"/> </xsd:restriction> </xsd:simpletype> <xsd:complextype name="imagetype" > <xsd:attribute name="src" type="xsd:string"/> <xsd:attribute name="alttext" type="xsd:string"/> <xsd:attribute name="width" type="xsd:nonnegativeinteger"/> <xsd:attribute name="height" type="xsd:nonnegativeinteger"/> </xsd:complextype> </xsd:schema> Page 5 of 14
6 Question 3. ( continued from previous page) The above Schema is used to validate the following XML instance document and multiple errors are reported. Identify the errors and explain why they have occurred. 1. <?xml version="1.0" encoding="utf-8"?> <team xmlns=" name="latrobe" 4. xmlns:xsi=" 5. xsi:schemalocation=" q3.xsd" > <player category="seniors"> 8. <registrationnumber>xx-001-b</registrationnumber> 9. <guernseynumber>11</guernseynumber> 10. <name>john Smith</name> 11. <gamesplayed>60</gamesplayed> 12. <totalpoints>513</totalpoints> 13. <comments></comments> 14. </player> <player category="seniors"> 17. <registrationnumber>xyz-11-m</registrationnumber> 18. <guernseynumber>-5</guernseynumber> 19. <name>rick Shackleton</name> 20. <image src="photo.png" alttext="" width="100" height="200"/> 21. <comments>potential Captain material</comments> 22. </player> <player category="under18"> 25. <registrationnumber>zy-231-c</registrationnumber> 26. <guernseynumber>7</guernseynumber> 27. <name>geoffrey Greenbriar</name> 28. <gamesplayed>6</gamesplayed> 29. <totalpoints>3</totalpoints> 30. <comments></comments> 31. </player> </team> [17] The value 'XYZ-11-M' of element 'registrationnumber' is not valid. Value 'XYZ-11-M' does not match pattern '[XYZ]{2}-\d{3}-[A-C]{1}' for type 'registrationnumbertype'. ie 2 chars [X, Y or Z] hyphen 3 digits hyphen 1 char [A, B or C] [18] The value '-5' of element 'guernseynumber' is not valid. Value '-5' is not valid with respect to mininclusive '1' for type 'positiveinteger'. [24] Value 'under18' is not valid with respect to enumeration '[u18, reserves, seniors]'. It must be a value from the enumeration. [25] The value 'zy-231-c' of element 'registrationnumber' is not valid with respect to pattern '[XYZ]{2}-\d{3}-[A-C]{1}' for type 'registrationnumbertype'. Page 6 of 14 ( 15 Marks )
7 Question 4 XPath and XSLT Consider the following XSLT and XML documents: patients.xsl <?xml version="1.0" encoding="utf-8"?> <xsd:stylesheet xmlns:xsd=" version="1.0"> <xsd:output method="html"/> <xsd:template match="/"> <html> <head> <title>patient Report</title> </head> <body> <xsd:apply-templates match="//patient"/> </body> </html> </xsd:template> <xsd:template match="patient"> <xsd:if test="age > 35"> <h2><xsd:value-of select="name"/></h2> <p>age: <xsd:value-of select="age"/></p> </xsd:if> </xsd:template> </xsd:stylesheet> patients.xml <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xml" href="patients.xsl"?> <patients> <patient id='h234'> <name>harry</name> <age>36</age> <insured>true</insured> <ward>7</ward> </patient> <patient id= 'H235'> <name>larry</name> <age>26</age> <insured>false</insured> <ward>7</ward> </patient> <patient id='h236'> <name>morrie</name> <age>46</age> <insured>true</insured> <ward>5</ward> </patient> <patient id='h237'> <name>tommie </name> <age>32</age> <insured>false</insured> <ward>7</ward> </patient> </patients> (a) Show the output text that would result from applying the given XSLT stylesheet (patients.xsl) to the XML document patients.xml.( 5 marks) <html> <head> <title>patient Report</title> </head> <body> <h2>harry</h2> <p>age: 36</p> <h2>morrie</h2> <p>age: 46</p> </body> </html> Page 7 of 14
8 (b) Change the patient template to also display the values for the id and ward for a patient. ( 5 marks) <xsd:template match="patient"> <xsd:if test="age > 35"> <h2><xsd:value-of select="name"/></h2> <p>age: <xsd:value-of select="age"/></p> <p>id: <xsd:value-of select="@id"/></p> <p>ward: <xsd:value-of select="ward"/></p> </xsd:if> </xsd:template> (c) Give an example using a predicate for selecting only those patients with insured set to true. ( 5 marks) <xsd:apply-templates match="//patient[ insured = 'true' ]"/> ( = 15 Marks ) Page 8 of 14
9 Question 5 XML Technologies and Web Services (a) Give a brief definition for what is meant by the term Web Services. A Web Service is a software system designed to support interoperable machine-to-machine interaction over a network Web Services is a collection of standards, specifications and implementation technologies that provide business solutions via interoperability through application integration and distributed computing. (b) In order to consume a Web Service, what essential pieces of information about the service does the client need to obtain in order to use the service? What the service provides: - the functions which the service can provide, and the arguments needed to invoke them. How a service is accessed: - the details of data formats and protocols required. Where a service is located: - the details of a protocol-specific network address, such as a URL. These are described in the WSDL file for the service. (c) Briefly outline the structure of a SOAP envelope and identify what each part is used for. SOAP messages consist of an optional SOAP header followed by a SOAP Body and are enclosed inside a SOAP Envelope. The Header is the only optional part of the message. Headers are used to provide extensibility to SOAP, and may contain extra information as security/authentication credentials or information about other servers the message will visit (routing), or transaction management. Page 9 of 14
10 The Soap envelope contains the message to be delivered to some end point on the Internet. Soap messages can be a request, a response or a fault message. A request invokes a method on a remote object A response returns the result of the method call or returns a fault if the request could not be completed. The message is application specific. Namespaces are used to distinguish between the various parts of a soap message. A SOAP Fault message contains a single Fault element in the body, and is sent in response to a request that could not be carried out. <Envelope xmlns=" <Header> Zero or more headers can be present and are used to carry extra information not directly connected to the message. May include security and encryption information. </Header> <Body> Request, Response or Fault encoded with application specific XML using namespaces. </Body> </Envelope> (d) Briefly explain how has XML Schema has solved the problem of exchanging data between different applications written in different programming languages and running on different computer platforms? XML schema provides a standard set of data types, it uses plain text for data values and XML to describe complex data structures that can be understood or translated by common programming languages on any platform. ( = 15 Marks) Page 10 of 14
11 Question 6 Web Service XML Technologies This question refers to a Schema given below and a WSDL document on the following page. Please study both carefully before attempting your answer to this question. (a) For the Schema document webservices.xsd describe the elements defined by the schema ie. give names, types and structure for each element.( 3 marks) computedifference: element parent node of two elements x and y x: element of type xsd:decimal y: element of type xsd:decimal computedifferenceresponse element parent node of two elements result and errormessage result: element of type xsd:decimal errormessage: element of type xsd:string Page 11 of 14
12 (b) For the WSDL document webservices.wsdl: i. Briefly explain the purpose of each child of the <definitions> root element in the WSDL file. A list of type definitions for use in parameter and result passing. The types refer to XSD types such as xsd:string and xsd:int or use more complex types defined by an embedded or external schema. types Identifies the data types used with the web services. Type information is shared between the server and client. A client needs to know how to encode data being sent to the server, and how data received from the server is to be encod It is an abstract definition of the data, in the form of a message presented either as an entire document or as arguments to be mapped to a method invocation. message The data types used by the messages are described using XML schema. The structure of each query and their relevant response. For queries, the parameters are listed. For responses, the return values are listed. The names of the messages are internal to this WSDL file. The porttype describes the interface to a Web Service. porttype Declares a port name, and lists the names of operations (ie. functions) supported. It describes an abstract set of operations for a binding that are to be supplied by the Web Service. The set of abstract operations can be mapped to multiple transports through different bindings. Typically, they are encoded using SOAP encoding. For each operation, it describes which message is used for a request (input) and which message is used for response (output). Describes the method of passing the input and output for each operation binding A binding defines the concrete message format and protocol details for operations and messages defined by a particular porttype. A binding MUST specify exactly one protocol. A binding MUST NOT specify address information. service It is the collection of end-points for the service definitions. Services maps bindings to the ports. Page 12 of 14
13 ii. What is the name of the Web Service defined by this WSDL document? SOAPService iii. What messaging protocol is used by this Web Service? SOAP over http iv. What is the URI for the access point to this Web Service? v. Identify the method(s), their parameter(s) (give both names and types) and return type. computedifference( x,y ) where x and y are decimal numbers (double) the return type is an Object consisting of a decimal (result) and a String (errormessage) webservices.xsd (3 + ( ) = 25 Marks) <?xml version="1.0" encoding="utf-8" standalone="yes"?> <xsd:schema xmlns:foo=" xmlns:tns="wombat.ltu.net" xmlns:xsd=" targetnamespace="wombat.ltu.net" version="1.0"> <xsd:element name="computedifference"> <xsd:complextype> <xsd:sequence> <xsd:element name="x" type="xsd:decimal"/> <xsd:element name="y" type="xsd:decimal"/> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:element name="computedifferenceresponse" type ="responsetype" /> <xsd:complextype name="responsetype"> <xsd:sequence> <xsd:element name="result" type="xsd:decimal"/> <xsd:element name="errormessage" type="xsd:string" minoccurs="0"/> </xsd:sequence> </xsd:complextype> </xsd:schema> continued on the next page Page 13 of 14
14 Question 6 Web Service XML Technologies ( continued from previous page) webservices.wsdl <?xml version="1.0" encoding="utf-8" standalone="yes"?> <definitions xmlns:foo="wombat.ltu.net" xmlns:xsd=" xmlns:soap=" xmlns=" xmlns:ns=" name="soapwebservices" targetnamespace="wombat.ltu.net"> <types> <xsd:schema> <xsd:import namespace="wombat.ltu.net" schemalocation="webservices.xsd"/> </xsd:schema> </types> <message name="computedifference"> <part name="computedifference" element="foo:computedifference"/> </message> <message name="computedifferenceresponse"> <part name="computedifferenceresponse" element="foo:computedifferenceresponse"/> </message> <porttype name="soapwebservices"> <operation name="getcomputedifference"> <input message="foo:computedifference"/> <output message="foo:computedifferenceresponse"/> </operation> </porttype> <binding name="soapwebservicesportbinding" type="foo:soapwebservices"> <soap:binding style="document" transport=" <operation name="getcomputedifference"> <soap:operation soapaction="urn:wombat.ltu.net/services/getcomputedifference"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="soapservice"> <port name="webservices" binding="foo:soapwebservicesportbinding"> <soap:address location=" </port> </service> </definitions> Page 14 of 14
<xsd:element name="name" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccountid" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccounti
More information
XML. XML Namespaces, XML Schema, XSLT
XML XML Namespaces, XML Schema, XSLT Contents XML Namespaces... 2 Namespace Prefixes and Declaration... 3 Multiple Namespace Declarations... 4 Declaring Namespaces in the Root Element... 5 Default Namespaces...
More informationXML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007.
XML DTDs and Namespaces CS174 Chris Pollett Oct 3, 2007. Outline Internal versus External DTDs Namespaces XML Schemas Internal versus External DTDs There are two ways to associate a DTD with an XML document:
More informationSession [2] Information Modeling with XSD and DTD
Session [2] Information Modeling with XSD and DTD September 12, 2000 Horst Rechner Q&A from Session [1] HTML without XML See Code HDBMS vs. RDBMS What does XDR mean? XML-Data Reduced Utilized in Biztalk
More informationGuide: SOAP and WSDL WSDL. A guide to the elements of the SOAP and WSDL specifications and how SOAP and WSDL interact.
Guide: SOAP and WSDL A guide to the elements of the SOAP and WSDL specifications and how SOAP and WSDL interact. WSDL Definitions Type_Declarations Messages Operations Request-Response One-way Solicit-Response
More informationHR-XML Schema Extension Recommendation, 2003 February 26
HR-XML Schema Extension Recommendation, 2003 February 26 This version: HRXMLExtension.doc Previous version: HRXMLExtension-1_0.doc Editor: Paul Kiel, HR-XML, paul@hr-xml.org Authors: Paul Kiel, HR-XML,
More informationPart 2: XML and Data Management Chapter 6: Overview of XML
Part 2: XML and Data Management Chapter 6: Overview of XML Prof. Dr. Stefan Böttcher 6. Overview of the XML standards: XML, DTD, XML Schema 7. Navigation in XML documents: XML axes, DOM, SAX, XPath, Tree
More informationWSDL. Stop a while to read about me!
WSDL Stop a while to read about me! Part of the code shown in the following slides is taken from the book Java by D.A. Chappell and T. Jawell, O Reilly, ISBN 0-596-00269-6 What is WSDL? Description Language
More informationEl fichero de descripción del servicio se puede obtener a partir de la siguiente URL:
WSDL El fichero de descripción del servicio se puede obtener a partir de la siguiente URL: https://invenes.oepm.es/invenesservices/invenessearchservice?wsdl Contenido del WSDL
More informationNo Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
[MS-RDWR]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages,
More informationCountryData Technologies for Data Exchange. Introduction to XML
CountryData Technologies for Data Exchange Introduction to XML What is XML? EXtensible Markup Language Format is similar to HTML, but XML deals with data structures, while HTML is about presentation Open
More information7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language
7.1 Introduction - SGML is a meta-markup language - Developed in the early 1980s; ISO std. In 1986 - HTML was developed using SGML in the early 1990s - specifically for Web documents - Two problems with
More informationWSDL Document Structure
WSDL Invoking a Web service requires you to know several pieces of information: 1) What message exchange protocol the Web service is using (like SOAP) 2) How the messages to be exchanged are structured
More informationCopyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1
Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.
More informationInformation Systems. DTD and XML Schema. Nikolaj Popov
Information Systems DTD and XML Schema Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline DTDs Document Type Declarations
More informationOMA Web Services Enabler (OWSER) Best Practices: WSDL Style Guide
OMA Web Services Enabler (OWSER) Best Practices: WSDL Style Guide Approved Version 1.0 15 Jul 2004 Open Mobile Alliance OMA-OWSER-Best_Practice-WSDL_Style_Guide-V1_0-20040715-A OMA-OWSER-Best_Practice-WSDL_Style_Guide-V1_0-20040715-A
More informationWeb Services. Grid Computing (M) Lecture 6. Olufemi Komolafe 19 January 2007
Web Services Grid Computing (M) Lecture 6 Olufemi Komolafe (femi@dcs.gla.ac.uk) 19 January 2007 UDDI registry retrieved from a DTD WSDL service definition XML schema definition is a describes structure
More informationOverview. Introduction to XML Schemas. Tutorial XML Europe , Berlin. 1 Introduction. 2 Concepts. 3 Schema Languages.
Introduction to XML Schemas Tutorial XML Europe 2001 21.5.2001, Berlin Ulrike Schäfer. www.infotakt.de. slide 1 Overview 1 Introduction q Why are Schemas? 2 Concepts q What are schemas? 3 Schema Languages
More informationENTSO-E ACKNOWLEDGEMENT DOCUMENT (EAD) IMPLEMENTATION GUIDE
1 ENTSO-E ACKNOWLEDGEMENT DOCUMENT (EAD) 2014-01-16 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Table of Contents 1 OBJECTIVE... 5 2 THE ACKNOWLEDGEMENT
More informationJava CAPS 6 Update 1 Exposing MTOM-capable Java CAPS Classic Web Service Contents Introduction
Java CAPS 6 Update 1 Exposing MTOM-capable Java CAPS Classic Web Service Michael.Czapski@sun.com February 2009 Contents 1. Introduction...1 2. WSDL Notes...3 4. Build einsight / BPEL 1.0-based Web Service...12
More informationThe main problem of DTD s...
The main problem of DTD s... They are not written in XML! Solution: Another XML-based standard: XML Schema For more info see: http://www.w3.org/xml/schema XML Schema (W3C) Thanks to Jussi Pohjolainen TAMK
More informationMore XML Schemas, XSLT, Intro to PHP. CS174 Chris Pollett Oct 15, 2007.
More XML Schemas, XSLT, Intro to PHP CS174 Chris Pollett Oct 15, 2007. Outline XML Schemas XSLT PHP Overview of data types There are two categories of data types in XML Schemas: simple types -- which are
More informationWeb services. In plain words, they provide a good mechanism to connect heterogeneous systems with WSDL, XML, SOAP etc.
Web Services Web Services A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format
More information[MS-RDWR]: Remote Desktop Workspace Runtime Protocol. Intellectual Property Rights Notice for Open Specifications Documentation
[MS-RDWR]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation ( this documentation ) for protocols,
More informationWHITE PAPER. Query XML Data Directly from SQL Server Abstract. DilMad Enterprises, Inc. Whitepaper Page 1 of 32
WHITE PAPER Query XML Data Directly from SQL Server 2000 By: Travis Vandersypen, President of DilMad Enterprises, Inc. Abstract XML is quickly becoming the preferred method of passing information, not
More information/home/karl/desktop/case 1/openesb/Case1XSLT/src/Case1.wsdl
Case1.wsdl /home/karl/desktop/case 1/openesb/Case1XSLT/src/Case1.wsdl 43 In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is
More informationSoftware Developer s Guide for Cisco Secure Access Control System 5.3
Software Developer s Guide for Cisco Secure Access Control System 5.3 November 2012 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel:
More informationXML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.
COSC 304 Introduction to Database Systems XML Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca XML Extensible Markup Language (XML) is a markup language that allows for
More informationStandards and Technologies
DWS.book Page 27 Thursday, April 29, 2004 3:32 PM CHAPTER2 THIS chapter describes current, universally accepted Web Service standards and the J2EE platform s support for these standards. The Web services
More informationChapter 3 Brief Overview of XML
Slide 3.1 Web Serv vices: Princ ciples & Te echno ology Chapter 3 Brief Overview of XML Mike P. Papazoglou & mikep@uvt.nl Slide 3.2 Topics XML document structure XML schemas reuse Document navigation and
More informationArticulation Transfer Clearinghouse Implementation Guide
Articulation Transfer Clearinghouse for 8/2/2007 Implementation Details TABLE OF CONTENTS INTRODUCTION... 3 Project Identification... 3 DOCUMENT CONTROL... 4 Update History... 4 ENVIRONMENTS... 5 METHODS...
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 28. 10. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationEMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents
EMERGING TECHNOLOGIES XML Documents and Schemas for XML documents Outline 1. Introduction 2. Structure of XML data 3. XML Document Schema 3.1. Document Type Definition (DTD) 3.2. XMLSchema 4. Data Model
More informationXML Extensible Markup Language
XML Extensible Markup Language Generic format for structured representation of data. DD1335 (Lecture 9) Basic Internet Programming Spring 2010 1 / 34 XML Extensible Markup Language Generic format for structured
More information02267: Software Development of Web Services
02267: Software Development of Web Services Week 4 Hubert Baumeister huba@dtu.dk Department of Applied Mathematics and Computer Science Technical University of Denmark Fall 2016 1 Recap SOAP part II: SOAP
More informationThis presentation is a primer on WSDL Bindings. It s part of our series to help prepare you for creating BPEL projects. We recommend you review this
This presentation is a primer on WSDL Bindings. It s part of our series to help prepare you for creating BPEL projects. We recommend you review this presentation before taking an ActiveVOS course or before
More informationWe recommend you review this before taking an ActiveVOS course or before you use ActiveVOS Designer.
This presentation is a primer on WSDL. It s part of our series to help prepare you for creating BPEL projects. We recommend you review this before taking an ActiveVOS course or before you use ActiveVOS
More informationWeb Services. Richard Sinnott.
Web Services Richard Sinnott http://csperkins.org/teaching/2004-2005/gc5/ Overview Web Services Overview Technologies associated with web services XML XML schema and namespaces SOAP WSDL Too much material
More informationSuccessMaker Data Services API Guide
SuccessMaker 7.0.1 Data Services API Guide Document last updated August 2014 Copyright 2011 2014 Pearson Education, Inc. or one or more of its direct or indirect affiliates. All rights reserved. Pearson
More informationSDMX self-learning package XML based technologies used in SDMX-IT TEST
SDMX self-learning package XML based technologies used in SDMX-IT TEST Produced by Eurostat, Directorate B: Statistical Methodologies and Tools Unit B-5: Statistical Information Technologies Last update
More informationXML Applications. Prof. Andrea Omicini DEIS, Ingegneria Due Alma Mater Studiorum, Università di Bologna a Cesena
XML Applications Prof. Andrea Omicini DEIS, Ingegneria Due Alma Mater Studiorum, Università di Bologna a Cesena Outline XHTML XML Schema XSL & XSLT Other XML Applications 2 XHTML HTML vs. XML HTML Presentation
More informationHTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the <mymadeuptag> element and generally do their best
1 2 HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the element and generally do their best when dealing with badly placed HTML elements. The
More informationCS/INFO 330: Applied Database Systems
CS/INFO 330: Applied Database Systems XML Schema Johannes Gehrke October 31, 2005 Annoucements Design document due on Friday Updated slides are on the website This week: Today: XMLSchema Wednesday: Introduction
More informationWorld-Wide Wide Web. Netprog HTTP
Web Services Based partially on Sun Java Tutorial at http://java.sun.com/webservices/ Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL Tutorial at: http://www.w3schools.com/wsdl wsdl/ 1 World-Wide
More informationXML (4) Extensible Markup Language
XML (4) Extensible Markup Language Acknowledgements and copyrights: these slides are a result of combination of notes and slides with contributions from: Michael Kiffer, Arthur Bernstein, Philip Lewis,
More informationCisco Unified IP Phone Services XML Schema File
APPENDIXB Cisco Unified IP Phone Services XML Schema File These sections provide details about the XML schema supported on Cisco Unified IP Phones: Updated XML Parser and Schema Enforcement CiscoIPPhone.xsd
More informationArtix ESB. Bindings and Transports, Java Runtime. Version 5.5 December 2008
Artix ESB Bindings and Transports, Java Runtime Version 5.5 December 2008 Bindings and Transports, Java Runtime Version 5.5 Publication date 18 Mar 2009 Copyright 2001-2009 Progress Software Corporation
More informationCisco Unified IP Phone Services XML Schema File
APPENDIXB Cisco Unified IP Phone Services XML Schema File These sections provide details about the XML schema supported on Cisco Unified IP Phones: Updated XML Parser and Schema Enforcement CiscoIPPhone.xsd
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 24. 6. 2015 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will not
More informationID2208 Programming Web Services
ID2208 Programming Web Services Service description WSDL Mihhail Matskin: http://people.kth.se/~misha/id2208/index Spring 2015 Content WSDL Introduction What should service describe Web service description
More informationEnterprise Knowledge Platform
Enterprise Knowledge Platform Training History Import/Export Document Information Document ID: EN145 Document title: EKP Training History Import/Export Version: 1.7 Document date: 14 April 2009 This document
More informationIntroduction to Web Services
20 th July 2004 www.eu-egee.org Introduction to Web Services David Fergusson NeSC EGEE is a project funded by the European Union under contract IST-2003-508833 Objectives Context for Web Services Architecture
More informationDAFTAR REFERENSI. [GRE07] diakses tanggal 7 Desember 2007.
DAFTAR REFERENSI [GRE07] http://en.wikipedia.org/wiki/gregorian_calendar diakses tanggal 7 Desember 2007. [PHP07] http://www.php.net diakses tanggal 7 Desember 2007. [RIC06] Richards, Robert. Pro PHP XML
More informationSOAP Web Services Objektumorientált szoftvertervezés Object-oriented software design. Web services 11/23/2016. Outline. Remote call.
SOAP Web Services Objektumorientált szoftvertervezés Object-oriented software design Outline Web Services SOAP WSDL Web Service APIs.NET: WCF Java: JAX-WS Dr. Balázs Simon BME, IIT 2 Remote call Remote
More informationWeb Services. GC: Web Services Part 2: Rajeev Wankar
Web Services 1 Web Services Part II 2 Web Services Registered using JAXR, JUDDI, UDDI4J X! 3 Client-Service Implementation Suppose we have found the service and have its WSDL description, i.e. got past
More informationData Services API Guide SuccessMaker 10
Document last updated July 26, 2017 Copyright 2017 Pearson Education, Inc. or one or more of its direct or indirect affiliates. All rights reserved. Pearson and SuccessMaker are registered trademarks,
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 12. 01. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationData Services API Guide SuccessMaker 9
Document last updated September 22, 2016 Copyright 2016 Pearson Education, Inc. or one or more of its direct or indirect affiliates. All rights reserved. Pearson and SuccessMaker are registered trademarks,
More informationTutorial on Fast Web Services
Tutorial on Fast Web Services This document provides tutorial material on Fast Web Services (it is equivalent to Annex C of X.892 ISO/IEC 24824-2). Some of the advantages of using Fast Web Services are
More informationThis tutorial is going to help all those readers who want to learn the basics of WSDL and use its features to interface with XML-based services.
i About the Tutorial This is a brief tutorial that explains how to use to exchange information in a distributed environment. It uses plenty of examples to show the functionalities of the elements used
More informationCHAPTER 8. XML Schemas
429ch08 1/11/02 1:20 PM Page 291 CHAPTER 8 XML Schemas MOST OF US WHO ARE INVOLVED in XML development are all too familiar with using Document Type Definition (DTD) to enforce the structure of XML documents.
More informationHow to Make Your Data Available through the EN Browser
How to Make Your Data Available through the EN Browser 1 Overview Making your data available through the EN Browser can be completed in 3 steps. This document guides you through these steps. 2 Step 1:
More informationSticky and Proximity XML Schema Files
APPENDIX B Sticky and Proximity XML Schema Files This appendix describes how you can use the two XML schema files, included with the GSS, to describe and validate the sticky XML and proximity XML output
More informationOpenSplice RMI over DDS Version 6.x. Getting Started Guide
OpenSplice RMI over DDS Version 6.x Getting Started Guide OpenSplice RMI over DDS GETTING STARTED GUIDE Part Number: OS-RMIGSG Doc Issue 01, 28 Oct 11 ii Getting Started Guide CONTENTS Table of Contents
More informationLecture Notes course Software Development of Web Services
Lecture Notes course 02267 Software Development of Web Services Hubert Baumeister huba@dtu.dk Fall 2014 Contents 1 Complex Data and XML Schema 1 2 Binding to Java 8 3 User defined Faults 9 4 WSDL: Document
More informationAtlas WFS Recordings Service
Version EN160212 1.12 Final Date: 12 February 2016 2 Version history Version Status Date Details of change Author(s) 1.0 Final 15 Oct 2010 Initial version 1.1 Final 1 Nov 2011 Version 1.1 of schema: support
More informationWeek 2: Lecture Notes. DTDs and XML Schemas
Week 2: Lecture Notes DTDs and XML Schemas In Week 1, we looked at the structure of an XML document and how to write XML. I trust you have all decided on the editor you prefer. If not, I continue to recommend
More informationOASIS SECURITY SERVICES DYNAMIC SESSION SPECIFICATION WORKING DRAFT
OASIS SECURITY SERVICES DYNAMIC SESSION SPECIFICATION WORKING DRAFT Last Updated: 05/10/01 SSTC filename: draft-sstc-sessions-dynamic-00.doc [Submitter s version of original submission: 0.51] Editor(s):
More informationXML - Schema. Mario Arrigoni Neri
XML - Schema Mario Arrigoni Neri 1 Well formed XML and valid XML Well formation is a purely syntactic property Proper tag nesting, unique root, etc.. Validation is more semantic, because it must take into
More informationOracle B2B 11g Technical Note. Technical Note: 11g_005 Attachments. Table of Contents
Oracle B2B 11g Technical Note Technical Note: 11g_005 Attachments This technical note lists the attachment capabilities available in Oracle B2B Table of Contents Overview... 2 Setup for Fabric... 2 Setup
More informationDBMaker. XML Tool User's Guide
DBMaker XML Tool User's Guide CASEMaker Inc./Corporate Headquarters 1680 Civic Center Drive Santa Clara, CA 95050, U.S.A. www.casemaker.com www.casemaker.com/support Copyright 1995-2003 by CASEMaker Inc.
More informationIII General Acknowledgement message. Acknow. Workgroup Document version: A. Version 5.0 SECTION
1 2 3 4 5 SECTION III General Acknowledgement Message Acknow 6 Version 5.0 Edig@s 7 8 9 10 EASEE-gas/Edig@s Workgroup Document version: A ACKNOW Version 5.0 / 2010-02-17 III - 1 11 COPYRIGHT & LIABILITY
More informationIVOA Support Interfaces: Mandatory Interfaces Version 0.3
IVOA Support Interfaces: Mandatory Interfaces Version 0.3 IVOA Working Draft 2007 May 16 This version: http://www.ivoa.net/internal/ivoa/ivoagridandwebservices /VOSupportInterfacesMandatory-0.3.pdf Previous
More informationXML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior
XML Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML INTRODUCTION 2 THE XML LANGUAGE XML: Extensible Markup Language Standard for the presentation and transmission of information.
More informationXML: Extensible Markup Language
XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified
More informationImprovements in WSOL Grammar and Premier WSOL Parser. Kruti Patel, Bernard Pagurek, Vladimir Tosic. Research Report SCE October 2003
Improvements in WSOL Grammar and Premier WSOL Parser Kruti Patel, Bernard Pagurek, Vladimir Tosic Research Report SCE-03-25 October 2003 The Department of Systems and Computer Engineering, Carleton University,
More informationInterface Control Document
Project Title: BIO_SOS Biodiversity Multisource Monitoring System: from Space TO Species Contract No: FP7-SPA-2010-1-263435 Instrument: Collaborative Project Thematic Priority: FP7-SPACE-2010-1 Start of
More information- XML. - DTDs - XML Schema - XSLT. Web Services. - Well-formedness is a REQUIRED check on XML documents
Purpose of this day Introduction to XML for parliamentary documents (and all other kinds of documents, actually) Prof. Fabio Vitali University of Bologna Introduce the principal aspects of electronic management
More informationQuerying XML Data. Querying XML has two components. Selecting data. Construct output, or transform data
Querying XML Data Querying XML has two components Selecting data pattern matching on structural & path properties typical selection conditions Construct output, or transform data construct new elements
More informationArtix Bindings and Transports, C++
Artix 5.6.4 Bindings and Transports, C++ Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 2015. All rights reserved. MICRO FOCUS,
More informationCase study group setup at catme.org Please respond before Tuesday next week to have better group setup
Notes Case study group setup at catme.org Please respond before Tuesday next week to have better group setup Discussion To boost discussion, one write-up for the whole group is fine Write down the names
More informationWeb Services Description Language (WSDL) Version 1.2
Web Services Description Language (WSDL) Version 1.2 Part 3: Bindings Web Services Description Language (WSDL) Version 1.2 Part 3: Bindings W3C Working Draft 11 June 2003 This version: http://www.w3.org/tr/2003/wd-wsdl12-bindings-20030611
More informationSecurities Lending Reporting Web Service
Securities Lending Reporting Web Service External Interface Specification Broker Trades Message Specification November 2009 (November 2007) ASX Market Information 2009 ASX Limited ABN 98 008 624 691 Table
More information3GPP TS V6.1.0 ( )
TS 29.199-1 V6.1.0 (2005-03) Technical Specification 3rd Generation Partnership Project; Technical Specification Group Core Network; Open Service Access (OSA); Parlay X Web Services; Part 1: Common (Release
More information7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML
7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,
More informationMWTM 6.1 NBAPI WSDL and XSD Definitions
APPENDIXA This appendix describes the WSDL and XSD 1 (XML Schema Definition) definitions for MWTM 6.1 Northbound API (NBAPI): InventoryAPI.wsdl, page A-1 EventAPI.wsdl, page A-5 ProvisionAPI.wsdl, page
More informationETSI TS V9.1.0 ( ) Technical Specification
TS 132 507 V9.1.0 (2010-07) Technical Specification Universal Mobile Telecommunications System (UMTS); LTE; Telecommunication management; Self-configuration of network elements; Integration Reference Point
More informationETSI TS V9.0.0 ( ) Technical Specification
TS 132 347 V9.0.0 (2010-01) Technical Specification Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Telecommunication management; File Transfer
More informationIntroduction to XML DTD
Introduction to XML DTD What is a DTD? A DTD is usually a file (or several files to be used together) which contains a formal definition of a particular type of document. This sets out what names can be
More information1. Information Systems for Design Support
Published as: van Leeuwen, J.P., and A.J. Jessurun. 2001. Added Value of XML for CAAD. In: Proceedings of AVOCAAD 2001, Brussels, Belgium, April 5-7, 2001. ADDED VALUE OF XML FOR CAAD J.P. VAN LEEUWEN
More informationSOAP, WSDL, HTTP, XML, XSD, DTD, UDDI - what the?
SOAP, WSDL, HTTP, XML, XSD, DTD, UDDI - what the? By Aaron Bartell Copyright Aaron Bartell 2013 by Aaron Bartell aaron@mowyourlawn.com Agenda Why are we at this point in technology? XML Holding data the
More informationDescriptions. Robert Grimm New York University
Descriptions Robert Grimm New York University The Final Assignment! Your own application! Discussion board! Think: Paper summaries! Time tracker! Think: Productivity tracking! Web cam proxy! Think: George
More informationCSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML
CSI 3140 WWW Structures, Techniques and Standards Representing Web Data: XML XML Example XML document: An XML document is one that follows certain syntax rules (most of which we followed for XHTML) Guy-Vincent
More informationXML FOR FLEXIBILITY AND EXTENSIBILITY OF DESIGN INFORMATION MODELS
XML FOR FLEXIBILITY AND EXTENSIBILITY OF DESIGN INFORMATION MODELS JOS P. VAN LEEUWEN AND A.J. JESSURUN Eindhoven University of Technology, The Netherlands Faculty of Building and Architecture, Design
More informationWeb Applications. Web Services problems solved. Web services problems solved. Web services - definition. W3C web services standard
Web Applications 31242/32549 Advanced Internet Programming Advanced Java Programming Presentation-oriented: PAGE based App generates Markup pages (HTML, XHTML etc) Human oriented : user interacts with
More informationXML Grammar and Parser for the Web Service. Offerings Language
XML Grammar and Parser for the Web Service Offerings Language by Kruti Patel, B. Eng. A thesis submitted to the Faculty of Graduate Studies and Research in partial fulfillment of the requirements for the
More informationSUN. Java Platform Enterprise Edition 6 Web Services Developer Certified Professional
SUN 311-232 Java Platform Enterprise Edition 6 Web Services Developer Certified Professional Download Full Version : http://killexams.com/pass4sure/exam-detail/311-232 QUESTION: 109 What are three best
More informationTPF Users Group Fall 2007
TPF Users Group Fall 2007 Creating Web Services For Your z/tpf System Edwin W. van de Grift Venue: Ongoing TPF Education Contents Web Services Where we were Where we are now Creating a Web Service for
More informationDTD MIGRATION TO W3C SCHEMA
Chapter 1 Schema Introduction The XML technical specification identified a standard for writing a schema (i.e., an information model) for XML called a document type definition (DTD). 1 DTDs were a carryover
More informationJava EE 7: Back-end Server Application Development 4-2
Java EE 7: Back-end Server Application Development 4-2 XML describes data objects called XML documents that: Are composed of markup language for structuring the document data Support custom tags for data
More information