How To Write An Xml Document In Java (Java) (Java.Com) (For Free) (Programming) (Web) (Permanent) (Powerpoint) (Networking) (Html) (Procedure) (Lang

Size: px
Start display at page:

Download "How To Write An Xml Document In Java (Java) (Java.Com) (For Free) (Programming) (Web) (Permanent) (Powerpoint) (Networking) (Html) (Procedure) (Lang"

Transcription

1 XML and Java The Extensible Markup Language

2 XML makes data portable Anders Møller & Michael I. Schwartzbach 2006 Addison-Wesley Underpinning for Web Related Computing fits well to Java, which makes code portable a standard for data interchange Java API s for XML processing: An Introduction to XML and Web Technologies What is XML?! XML: Extensible Markup Language! A framework for defining markup languages! Each language is targeted at its own application domain with its own markup tags! There is a common set of generic tools for processing XML documents! XHTML: an XML variant of HTML! Inherently internationalized and platform independent (Unicode)! Developed by W3C, standardized in JAXP, SAX, DOM, XSLT, JAXB, JAX-RPC, SAAJ, JAXR

3 XML languages an application of the XML standard, which defines a vocabulary with symbols, semantics, and rules

4 Some XML Languages (1) XHTML XML Hypertext Markup Language an HTML version that adheres to the XML standard XLINK XML-based standard for hypertext links XSLT XML Stylesheet Language for Transformation SOAP, WSDL are are used for Web Services

5 Some XML Languages (2) XML schema: a description of the type of an XML document (syntax and semantics) XPATH: a query language for selecting nodes from an XML document RDF: Resource Description Framework a language to define metadata models (entity-relationship, class diagrams) XMI: a standard to exchange meta-data information via XML MOF: a language to define meta-models DTD: Document Type Definition (like XML schema)

6 XML Structure <preparat i on> Tag-oriented representation of data 5 like HTML but Building tags on the XML identify Notation the data HTML-tags! Showing recipe tell documents how in browsers to display data <t i t l e>rhubarb Cobb l er< / t i t l e> <da te>wed, 14 Jun 95< / da t e> < i ngred i ent name="d i ced rhubarb" amount="2. 5" un i t="cup" / > < i ngred i ent name=" sugar " amount="2" un i t=" t ab l espoon" / > < i ngred i ent name=" f a i r l y r i pe banana" amount="2" / > < i ngred i ent name="c i nnamon" amount="0. 25" un i t=" teaspoon" / > < i ngred i ent name="nutmeg" amount="1" un i t="dash" / > <s t ep> Comb i ne a l l and use as cobb l er, p i e, or cr i sp. < / s tep> < / prepara t i on> An Introduction to XML and Web Technologies! Defining the syntax of our recipe language DTD, XML Schema,... XPath, XSLT! Recipe collections as databases XQuery! Building a Web-based recipe editor HTTP, Servlets, JSP,... Example:!... Coffee price list the topics of the following weeks... <PRICELIST> <COFFEE> An Introduction to XML and Web Technologies <NAME>MOCHA JAVA</NAME> <PRICE>11.95</PRICE> </COFFEE> <COFFEE> <NAME>SUMATRA</NAME> <PRICE>12.50</PRICE> </COFFEE> </PRICELIST> 7 <nut r i t i on ca l or i es="170" f a t="28%" carbohydrates="58%" prot e i n="14%" / > <re l a ted re f ="42">Garden Qu i che i s a l so yummy< / re l ated> < / rec i pe> < / co l l ect i on> An Introduction to XML and Web Technologies An Introduction to XML and Web Technologies XML Trees! Conceptually, an XML document is a tree structure node, edge root, leaf child, parent sibling (ordered), ancestor, descendant An Introduction to XML and Web Technologies An Introduction to XML and Web Technologies An Analogy: File Systems Nodes in XML Trees! Text nodes: carry the actual contents, leaf nodes! Element nodes: define hierarchical logical groupings of contents, each have a name! Attribute nodes: unordered, each associated with an element node, has a name and a value! Comment nodes: ignorable meta-information! Processing instructions: instructions to specific processors, each have a target and a value! Root nodes: every XML tree has one root node that represents the entire tree

7 xample Well-formedness od i ng=" I SO "?> Tags EM "examp l e. d td"> i n f orma t i on spec i f i c to my too l?> arçon! t a t ag> ] ] > to spec i f y the encod i ng - - > written in parentheses <... >! Every XML document must be well-formed start and end tags must match and nest properly <x><y></y></x> " </z><x><y></x></y> exactly one root element...! in other words, it defines a proper tree structure any tag <x> must have a matching end tag </x> 15! XML parser: given the textual XML document, constructs its tree representation An Introduction to XML and Web Technologies 16 between is the definition of an element of XML data tags can contain tags (are nested) Note: XML element names are case-sensitive!

8 Tag Attributes Tags can contain attributes additional information included as part of the tag itself: ATTRIBUTE <message subject="xml Is Really Cool"> <text> How many ways is XML cool? Let me count the ways... </text> </message> ATTRIBUTES ARE FOLLOWED BY AN = SIGN AND SEPARATED BY SPACES

9 Comments XML comments look just like HTML comments: <MESSAGE " " SUBJECT="XML IS REALLY COOL"> <!-- THIS IS A COMMENT --> s in XML Trees <TEXT> HOW MANY WAYS IS XML COOL? LET ME " " COUNT THE WAYS... define hierarchical </TEXT> logical </MESSAGE> y the actual contents, leaf nodes ents, each have a name unordered, each associated ode, has a name and a value : ignorable meta-information uctions: instructions to specific have a target and a value ry XML tree has one root node e Freitag, entire 31. Mai tree 13 9 An Introduction to XML and Web Technologies 1 Textual Representation! Text nodes: written as the text they carry! Element nodes: start-end tags <bla...>... < / bla> short-hand notation for empty elements: <bla / >! Attribute nodes: name= value in start tags! Comment nodes: <! - - bla - - >! Processing instructions: <?target value?>! Root nodes: implicit

10 The XML Prolog XML files allways starts with a prolog minimum: <?xml version="1.0"?>..or with additional information: <?XML VERSION="1.0" ENCODING="ISO " STANDALONE="YES"?> VERSION IDENTIFIES THE VERSION OF THE XML MARKUP LANGUAGE USED IN THE DATA. THIS ATTRIBUTE IS NOT OPTIONAL. ENCODING IDENTIFIES THE CHARACTER SET USED TO ENCODE THE DATA. "ISO " IS "LATIN-1" THE WESTERN EUROPEAN AND ENGLISH LANGUAGE CHARACTER SET. (THE DEFAULT IS COMPRESSED UNICODE: UTF-8.) STANDALONE TELLS WHETHER OR NOT THIS DOCUMENT REFERENCES AN EXTERNAL ENTITY OR AN EXTERNAL DATA TYPE SPECIFICATION (SEE LATER). IF THERE ARE NO EXTERNAL REFERENCES, THEN "YES" IS APPROPRIATE

11 Character Encoding Schemes US-ASCII is a 7-bit encoding scheme that covers the English-language alphabet. It is not large enough to cover the characters used in other languages, however, so it is not very useful for internationalization. ISO is the character set for Western European languages. It's an 8-bit encoding scheme in which every encoded character takes exactly 8-bits. (With the remaining character sets, on the other hand, some codes are reserved to signal the start of a multibyte character.) UTF-8 is an 8-bit encoding scheme. Characters from the English-language alphabet are all encoded using an 8-bit bytes. Characters for other languages are encoded using 2, 3 or even 4 bytes. UTF-8 therefore produces compact documents for the English language, but for other languages, documents tend to be half again as large as they would be if they used UTF-16. If the majority of a document's text is in a Western European language, then UTF-8 is generally a good choice because it allows for internationalization while still minimizing the space required for encoding. UTF-16 is a 16-bit encoding scheme. It is large enough to encode all the characters from all the alphabets in the world. It uses 16-bits for most characters, but includes 32-bit characters for ideogram-based languages like Chinese. A Western European-language document that uses UTF-16 will be twice as large as the same document encoded using UTF-8. But documents written in far Eastern languages will be far smaller using UTF-16.

12 XML Benefits formatted xml display in a modern Webbrowsers plain text, can easily be debugged identifies data by readable tags is stylable: When display is important, the stylesheet standard, XSL, lets you dictate how to portray the data. For example, the stylesheet for: <to>you@youraddress.com</to> can say: 1. START A NEW LINE. 2. DISPLAY "TO:" IN BOLD, FOLLOWED BY A SPACE 3. DISPLAY THE DESTINATION DATA. WHICH PRODUCES: TO: YOU@YOURADDRESS

13 XML tags must make sense Simpler Alternatives? S-expressions, 1958: to Applications multiple applications to use the same XML must agree upon tag names example: XML file for a messaging application (e.g. ) <MESSAGE> <TO>YOU@YOURADDRESS.COM</TO> <FROM>ME@MYADDRESS.COM</FROM> <SUBJECT>XML IS REALLY COOL</SUBJECT> <TEXT> HOW MANY WAYS IS XML COOL? LET ME COUNT THE WAYS... </TEXT> </MESSAGE> ( co l l ec t i on ( rec i pe ( t i t l e "Rhubarb Cobb l er " ) (da te "Wed, 14 Jun 95" )... ) )! XML is defined as a simplified subset of SGML! XML could have been designed simpler...!... but it wasn t [end of discussion] An Introduction to XML and Web Technologies XHTML: an XML variant of HTML makes sense to modern Example: Web XHTML browsers <?xm l ver s i on="1. 0" encod i ng="utf - 8"?> <htm l xm l ns="ht tp : / / www. w3. org / 1999 / xhtm l "> <head><t i t l e>he l l o wor l d! < / t i t l e>< / head> <body> <h1>th i s i s a head i ng< / h1> Th i s i s some t ex t. < / body> < / htm l > An Introduction to XML and Web Technologies 17 19

14 XML is extensible in contrast to HTML, XML allows you to write your own tags allowed tags in a document can be described in a schema describes hierarchical structure and order of tags SCHEMA LANGUAGES: " DOCUMENT TYPE " DEFINITION (DTD) "NEWER IS XML " SCHEMA BY W3C

15 Example of a DTD <!ELEMENT pricelist (coffee)+> <!ELEMENT coffee (name, price) > <!ELEMENT name (#PCDATA) > <!ELEMENT price (#PCDATA) > The first line in the example gives the highest level element, pricelist, which means that all the other tags in the document will come between the <pricelist> and </pricelist> tags. The first line also says that the pricelist element must contain one or more coffee elements (indicated by the plus sign). The second line specifies that each coffee element must contain both a name element and a price element, in that order. The third and fourth lines specify that the data between the tags <name> and </name> and between <price> and </price> is character data that should be parsed. The name and price of each coffee are the actual text that makes up the price list.

16 Schemas ensure Portability Parsers can validate XML documents using a Schema humans can read XML documents, but tag names by themself have no meaning to applications applications must agree on the meaning of the tags

17 XML is Everywhere examples of use on this computer this presentation an Apple Keynote document preferences of Mac OS X applications see preferences of the Dock in /Users/korte/ Library/Preferences/com.apple.dock.plist

18 Apple Dock: Preference File

19 XML and Web Services 8&/9!&':%-&+9;+1*&9<=1>#$& common language for.%+,'%/",)' information interchange between services and clients!"##$%&' 70( 62,&'2&, 70( 70( ()*%+,%-+ 70( 012"31-,"'%2* 41-%$%,5 defining Web services operations!"#$%&'()'**+),$#)-)./-'+-#+)0&(1/%*&(1/)&',#-./#23/2#*) ),$#)+-/-)*431-'(*)&')*562.&'*..)-770&3-/&$'.89)) i.e. Web Services require parsing and processing XML documents Java provides vendor-neutral APIs!"

20 JAVA API s for XML document-oriented Java API for XML Processing (JAXP) -- processes XML documents using various parsers Java Architecture for XML Binding (JAXB) -- processes XML documents using schema-derived JavaBeans component classes SOAP with Attachments API for Java (SAAJ) -- sends SOAP messages over the Internet in a standard way procedure-oriented Java API for XML-based RPC (JAX-RPC) -- sends SOAP method calls to remote parties over the Internet and receives the results - now replaced by JAX-WS Java API for XML Registries (JAXR) -- provides a standard way to access business registries and share information

21 JAXP - Java API for XML Processing 42 contains: SAX API - Simple API for XML parser processes XML document line by line and and notifies an application by calling methods from the ContentHandler Interface J2EE: The Integrated Platform for Web Services SAX: encountering an XML element while parsing is an event that triggers the invocation of an event handler XML Document Input SAX Parser Creates Events Event Handlers SAX: easy, sequential processing with small memory footprint XML Document Input DOM Parser Creates Tree

22 Summary of SAX APIs (1) SAXParserFactory A SAXParserFactory object creates an instance of the parser determined by the system property, javax.xml.parsers.saxparserfactory. SAXParser The SAXParser interface defines several kinds of 112 parse() methods. In general, you pass an XML data source and a DefaultHandler object to the parser, which processes the XML and invokes the appropriate methods in the handler object. Java API documentation: look into package javax.xml.parsers Note: well known software design patterns are used here SAXReader The SAXParser wraps a SAXReader. It is the SAXReader which carries on the conversation with the SAX event handlers you define. DefaultHandler Not shown in the diagram, a DefaultHandler implements the ContentHandler, ErrorHandler, DTDHandler, and EntityResolver interfaces (with null methods), so you can override only the ones you're interested in. Figure 4 1 SAX APIs

23 Summary of SAX APIs (2) ContentHandler 112 Methods like startdocument, enddocument, startelement, and endelement are invoked when an XML tag is recognized. This interface also defines methods characters and processinginstruction, which are invoked when the parser encounters the text in an XML element or an inline processing instruction, respectively. ErrorHandler Methods error, fatalerror, and warning are invoked in response to various parsing errors. DTDHandler Defines methods you will generally never be called upon to use. Used when processing a DTD to recognize and act on declarations for an unparsed entity. EntityResolver The resolveentity method is invoked when the parser must identify data identified by a URI. In most cases, a URI is simply a URL, which specifies the location of a document, but in some cases the document may be identified by a URN - a public identifier, or name, that is unique in the Web space. The public identifier may be specified in addition to the URL. The EntityResolver can then use the public identifier instead of the URL to find the document, for example to access a local copy of the document if one exists. Figure 4 1 SAX APIs The parser wraps a SAXReader object. When the parser s pa invoked, the reader invokes one of several callback methods im application. Those methods are defined by the interfaces C ErrorHandler, DTDHandler, and EntityResolver. Here is a summary of the key SAX APIs: SAXParserFactory A Uniform Resource Name (URN) is a Uniform Resource Identifier (URI) that uses the urn scheme, and does not imply SAXParser availability of the identified resource. Both URNs (names) and URLs (locators) are URIs, and some URI may be a name and a locator at the same time. A SAXParserFactory object creates an instance of the pars the system property, javax.xml.parsers.saxparserfact The SAXParser interface defines several kinds of parse() eral, you pass an XML data source and a DefaultHandl parser, which processes the XML and invokes the appropria handler object. SAXReader The SAXParser wraps a SAXReader. Typically, you don t ca

24 About Design Patterns... provide solutions for common design problems decorator singleton factory method observer Here are some basics

25 Decorator augments the functionality of an object decorator object wraps another object decorator has a similar interface calls are related to the wrapped object... but the decorator can provide additional functionality example: java.io.bufferedreader wraps a class to adapt its interface to specific needs wraps and augments an unbuffered Reader object

26 Singleton? ensures only a single instance of a class exists all clients use the same object constructor is private to prevent external instantiation single instance optained via a static getinstance method GIVE AN EXAMPLE!

27 Factory Method a pattern for object creation client require an object of a particular interface or superclass type see: Sun - Designing Web Services with J2EE chapter 2: plattechs.pdf p. 41 a factory method is free to return an implementing-class object or subclass object exact type depends on context example: SAXParserFactory.newInstance() method of the following example adds flexibility by not calling a constructor which would return a fixed implementation

28 Observer supports separation of internal model from a view of that model observer defines a one to many relationship between objects the object observed informs notifies all observers of any state change the SAX parser (observable) notifies the ContentHandler (observer) whenever it encounters an XML tag register example: the saxparser.parse( new File(argv[0]), handler) call of the following example Observer notify Observable

29 import java.io.*; import org.xml.sax.*; import org.xml.sax.helpers.defaulthandler; import javax.xml.parsers.saxparserfactory; import javax.xml.parsers.parserconfigurationexception; import javax.xml.parsers.saxparser; public class Echo01 extends DefaultHandler { StringBuffer textbuffer; public static void main(string argv[]) { if (argv.length!= 1) { System.err.println("Usage: cmd filename"); System.exit(1); } This example is described in the J2EE 1.4 Tutorial page 123ff: Echoing an XML File with the SAX Parser. part (1) // Use an instance of ourselves as the SAX event handler DefaultHandler handler = new Echo01(); // Use the default (non-validating) parser SAXParserFactory factory = SAXParserFactory.newInstance(); try { // Set up output stream out = new OutputStreamWriter(System.out, "UTF8"); // Parse the input SAXParser saxparser = factory.newsaxparser(); saxparser.parse( new File(argv[0]), handler); } } catch (Throwable t) { t.printstacktrace(); } System.exit(0); static private Writer out;

30 } static private Writer out; //=========================================================== // SAX DocumentHandler methods //=========================================================== public void startdocument() throws SAXException { emit("<?xml version='1.0' encoding='utf-8'?>"); nl(); } public void enddocument() throws SAXException { try { nl(); out.flush(); } catch (IOException e) { throw new SAXException("I/O error", e); } } This example is described in the J2EE 1.4 Tutorial page 123ff: Echoing an XML File with the SAX Parser. part (2) public void startelement(string namespaceuri, String sname, // simple name String qname, // qualified name Attributes attrs) throws SAXException { echotext(); String ename = sname; // element name if ("".equals(ename)) ename = qname; // not namespaceaware emit("<"+ename); if (attrs!= null) { for (int i = 0; i < attrs.getlength(); i++) { String aname = attrs.getlocalname(i); // Attr name if ("".equals(aname)) aname = attrs.getqname(i); emit(" "); emit(aname+"=\""+attrs.getvalue(i)+"\""); } } emit(">"); Freitag, } 31. Mai 13

31 } public void startelement(string namespaceuri, String sname, // simple name String qname, // qualified name Attributes attrs) throws SAXException { echotext(); String ename = sname; // element name if ("".equals(ename)) ename = qname; // not namespaceaware emit("<"+ename); if (attrs!= null) { for (int i = 0; i < attrs.getlength(); i++) { String aname = attrs.getlocalname(i); // Attr name if ("".equals(aname)) aname = attrs.getqname(i); emit(" "); emit(aname+"=\""+attrs.getvalue(i)+"\""); } } emit(">"); } public void endelement(string namespaceuri, String sname, // simple name String qname // qualified name ) throws SAXException { echotext(); String ename = sname; // element name if ("".equals(ename)) ename = qname; // not namespaceaware emit("</"+ename+">"); } public void characters(char buf[], int offset, int len) throws SAXException { String s = new String(buf, offset, len); if (textbuffer == null) { textbuffer = new StringBuffer(s); } else { textbuffer.append(s); } } This example is described in the J2EE 1.4 Tutorial page 123ff: Echoing an XML File with the SAX Parser. part (3) Echo01.java Printed: Freitag, 12. Mai :14:07 Uhr } } } //=========================================================== // Utility Methods... //=========================================================== // Display text accumulated in the character buffer private void echotext() throws SAXException { if (textbuffer == null) return; String s = ""+textbuffer; emit(s); textbuffer = null; } // Wrap I/O exceptions in SAX exceptions, to // suit handler signature requirements private void emit(string s) throws SAXException { try { out.write(s); out.flush(); } catch (IOException e) { throw new SAXException("I/O error", e); } } // Start a new line private void nl() throws SAXException { String lineend = System.getProperty("line.separator"); try { out.write(lineend); } catch (IOException e) { throw new SAXException("I/O error", e); } }

32 SAX Example PARSER CALLBACKS: <pricelist> [parser calls startelement] <coffee> [parser calls startelement] <name>mocha Java</name> [parser calls startelement, characters, and endelement] <price>11.95</price> [parser calls startelement, characters, and endelement] </coffee> [parser calls endelement] JAVA SOURCE CODE: SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser saxparser = factory.newsaxparser(); saxparser.parse("pricelist.xml", handler);

33 The DOM API Document Object Model defined by the W3C builds an object representation in the form of a tree of a parsed XML document in memory 42 allows for the manipulation of an XML document XML Document Input J2EE: The Integrated Platform for Web Services SAX Parser Creates Events Event Handlers insert and remove elements XML Document Input DOM Parser Creates Tree Figure 2.5 SAX- and DOM-Based XML Parser APIs

34 DOM API Example (1) add Kona Coffee to pricelist read XML into DOM: <pricelist> <coffee> <name>mocha Java</name> <price>11.95</price> </coffee> <coffee> <name>sumatra</name> <price>12.50</price> </coffee> </pricelist> DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newdocumentbuilder(); Document document = builder.parse("pricelist.xml");

35 Node rootnode = document.getdocumentelement(); NodeList list = document.getelementsbytagname("coffee"); // Loop through the list. for (int i=0; i < list.getlength(); i++) { thiscoffeenode = list.item(i); Node thisnamenode = thiscoffeenode.getfirstchild(); if (thisnamenode == null) continue; if (thisnamenode.getfirstchild() == null) continue; if (! thisnamenode.getfirstchild() instanceof org.w3c.dom.text) continue; String data = thisnamenode.getfirstchild().getnodevalue(); if (! data.equals("mocha Java")) continue; //We're at the Mocha Java node. Create and insert the new //element. Node newcoffeenode = document.createelement("coffee"); Node newnamenode = document.createelement("name"); Text tnnode = document.createtextnode("kona"); newnamenode.appendchild(tnnode); <pricelist> <coffee> <name>mocha Java</name> <price>11.95</price> </coffee> <coffee> <name>sumatra</name> <price>12.50</price> </coffee> </pricelist> insert Kona after Mocha Java } Node newpricenode = document.createelement("price"); Text tpnode = document.createtextnode("13.50"); newpricenode.appendchild(tpnode); newcoffeenode.appendchild(newnamenode); newcoffeenode.appendchild(newpricenode); rootnode.insertbefore(newcoffeenode, thiscoffeenode); break; Lab exercise: analyse and run the DOMecho example in the jaxp subdirectory of the J2EE Tutorial Examples

36 XML Namespaces if an XML document references multiple schemas or DTDs use namespaces declaring an XML Namespace is usually done in the root element of an XML document. In the following namespace declaration, the notation xmlns identifies nsname as a namespace, and nsname is set to the URL of the actual namespace: <pricelist xmlns:nsname="mydtd.dtd" xmlns:othernsname="myotherdtd.dtd">... </pricelist> Within the document, you can specify which namespace an element belongs to as follows: <nsname:price>..

37 XSLT API XML Stylesheet Language for Tranformations (XSLT) defined by the W3C describes a language to transform XML documents into other formats e.g. XML, HTML, Text, uses a stylesheet to perform the transformation written in the XML stylesheet language XSL

38 XSLT Transformation Process a TransformerFactory object is created used to create a Transformer object a source object can be created from a SAX reader, from a DOM, or from an input stream

39 <?xml version="1.0" encoding="iso "?> <xsl:stylesheet xmlns:xsl=" version="1.0" > <xsl:output method="html"/> <xsl:template match="/"> <html><body> <xsl:apply-templates/> </body></html> </xsl:template> The Stylesheet Language <xsl:template match="/article/title"> <h1 align="center"> <xsl:apply-templates/> </h1> </xsl:template> <!-- Top Level Heading --> <xsl:template match="/article/sect"> <h2> <xsl:apply-templates select="text() B I U DEF LINK"/> </h2> <xsl:apply-templates select="sect PARA LIST NOTE"/> </xsl:template> example of a.xsl file used to convert to html <!-- Second-Level Heading --> <xsl:template match="/article/sect/sect"> <h3> <xsl:apply-templates select="text() B I U DEF LINK"/> </h3> <xsl:apply-templates select="sect PARA LIST NOTE"/> </xsl:template> <!-- Paragraph --> <xsl:template match="para"> <p><xsl:apply-templates/></p> </xsl:template> </xsl:stylesheet>

40 JAXB - Java Architecture for XML Binding can be used to generate Java classes from XML schemas provides methods for unmarshaling an XML document into a Java objects and vice versa eases XML data processing for Java programmers

41 The JAXB Binding Process

42 SAAJ SOAP with Attachments API for JAVA XML messaging for the Java platform used mainly for SOAP messaging behind the scenes of JAX-WS and JAXR (API for XML Registries)

43 XML messages SOAP message with or without attachments attachment part can contain any content

44 Java API for XML Registries (JAXR) to access standard business registries over the internet open standards: ebxml sponsored by OASIS (Organization for the Advancement of Structured Information Standards) industry consortium-led: UDDI

45 JAXR Architecture JAXR client uses JAXR API JAXR provider implements the JAXR API for a specific registry type

46 Getting Access to a Registry There are no more public registries available!

47 Querying a Registry use the methods of the BusinessQueryManager interface findorganizations returns a list of organizations that meet the search criteria findservices returns a set of services offered findservicebindings returns informations on how to access a service

48 Classification Schemes standard classification schemes The North American Industry Classification System (NAICS). See for details. The Universal Standard Products and Services Classification (UNSPSC). See for details. The ISO 3166 country codes classification system maintained by the International Organization for Standardization (ISO). See iso3166ma/index.html for details.

XML & Databases. Tutorial. 2. Parsing XML. Universität Konstanz. Database & Information Systems Group Prof. Marc H. Scholl

XML & Databases. Tutorial. 2. Parsing XML. Universität Konstanz. Database & Information Systems Group Prof. Marc H. Scholl XML & Databases Tutorial Christian Grün, Database & Information Systems Group University of, Winter 2007/08 DOM Document Object Model Idea mapping the whole XML document to main memory The XML Processor

More information

5 &2 ( )" " & 6 7 83-4 6& )9 2) " *

5 &2 ( )  & 6 7 83-4 6& )9 2)  * ! " #$%& 0 ) ( )" %+ %*,( )" -" ".. /+% ()( )" ' &2 34%* 5 &2 ( )" " & 6 7 83-4 6& )9 2) " * 1 6 5 75 6 5 75 %* %* 32 %,6,) 5 " )& 8 * 2-4;< 7)&%*2 : = 75 75 75 %* 32,) 5, 37 %,2-4;< 7)&%*2 ?7 7 (? A%

More information

BASI DI DATI II 2 modulo Parte II: XML e namespaces. Prof. Riccardo Torlone Università Roma Tre

BASI DI DATI II 2 modulo Parte II: XML e namespaces. Prof. Riccardo Torlone Università Roma Tre BASI DI DATI II 2 modulo Parte II: XML e namespaces Prof. Riccardo Torlone Università Roma Tre Outline What is XML, in particular in relation to HTML The XML data model and its textual representation The

More information

Databases and Information Systems 2

Databases and Information Systems 2 Databases and Information Systems Storage models for XML trees in small main memory devices Long term goals: reduce memory compression (?) still query efficiently small data structures Databases and Information

More information

CST6445: Web Services Development with Java and XML Lesson 1 Introduction To Web Services 1995 2008 Skilltop Technology Limited. All rights reserved.

CST6445: Web Services Development with Java and XML Lesson 1 Introduction To Web Services 1995 2008 Skilltop Technology Limited. All rights reserved. CST6445: Web Services Development with Java and XML Lesson 1 Introduction To Web Services 1995 2008 Skilltop Technology Limited. All rights reserved. Opening Night Course Overview Perspective Business

More information

Java 2 Platform, Enterprise Edition (J2EE): Enabling Technologies for EAI

Java 2 Platform, Enterprise Edition (J2EE): Enabling Technologies for EAI Java 2 Platform, Enterprise Edition (J2EE): Enabling Technologies for EAI Tony Ng, Staff Engineer Rahul Sharma, Senior Staff Engineer Sun Microsystems Inc. 1 J2EE Overview Tony Ng, Staff Engineer Sun Microsystems

More information

XML: extensible Markup Language. Anabel Fraga

XML: extensible Markup Language. Anabel Fraga XML: extensible Markup Language Anabel Fraga Table of Contents Historic Introduction XML vs. HTML XML Characteristics HTML Document XML Document XML General Rules Well Formed and Valid Documents Elements

More information

WEB SERVICES. Revised 9/29/2015

WEB SERVICES. Revised 9/29/2015 WEB SERVICES Revised 9/29/2015 This Page Intentionally Left Blank Table of Contents Web Services using WebLogic... 1 Developing Web Services on WebSphere... 2 Developing RESTful Services in Java v1.1...

More information

XML nyelvek és alkalmazások

XML nyelvek és alkalmazások THE INTERNET,mapped on the opposite page, is a scalefree network in that XML nyelvek és alkalmazások XML kezelés Javaban dis.'~tj port,from THE INTERNET,mapped on the opposite page, is a scalefree network

More information

XML WEB TECHNOLOGIES

XML WEB TECHNOLOGIES XML WEB TECHNOLOGIES Chakib Chraibi, Barry University, cchraibi@mail.barry.edu ABSTRACT The Extensible Markup Language (XML) provides a simple, extendable, well-structured, platform independent and easily

More information

DTD Tutorial. About the tutorial. Tutorial

DTD Tutorial. About the tutorial. Tutorial About the tutorial Tutorial Simply Easy Learning 2 About the tutorial DTD Tutorial XML Document Type Declaration commonly known as DTD is a way to describe precisely the XML language. DTDs check the validity

More information

Developing Java Web Services

Developing Java Web Services Page 1 of 5 Developing Java Web Services Hands On 35 Hours Online 5 Days In-Classroom A comprehensive look at the state of the art in developing interoperable web services on the Java EE platform. Students

More information

Web Services Technologies

Web Services Technologies Web Services Technologies XML and SOAP WSDL and UDDI Version 16 1 Web Services Technologies WSTech-2 A collection of XML technology standards that work together to provide Web Services capabilities We

More information

Last Week. XML (extensible Markup Language) HTML Deficiencies. XML Advantages. Syntax of XML DHTML. Applets. Modifying DOM Event bubbling

Last Week. XML (extensible Markup Language) HTML Deficiencies. XML Advantages. Syntax of XML DHTML. Applets. Modifying DOM Event bubbling XML (extensible Markup Language) Nan Niu (nn@cs.toronto.edu) CSC309 -- Fall 2008 DHTML Modifying DOM Event bubbling Applets Last Week 2 HTML Deficiencies Fixed set of tags No standard way to create new

More information

T-110.5140 Network Application Frameworks and XML Web Services and WSDL 15.2.2010 Tancred Lindholm

T-110.5140 Network Application Frameworks and XML Web Services and WSDL 15.2.2010 Tancred Lindholm T-110.5140 Network Application Frameworks and XML Web Services and WSDL 15.2.2010 Tancred Lindholm Based on slides by Sasu Tarkoma and Pekka Nikander 1 of 20 Contents Short review of XML & related specs

More information

XML and Data Management

XML and Data Management XML and Data Management XML standards XML DTD, XML Schema DOM, SAX, XPath XSL XQuery,... Databases and Information Systems 1 - WS 2005 / 06 - Prof. Dr. Stefan Böttcher XML / 1 Overview of internet technologies

More information

ITS. Java WebService. ITS Data-Solutions Pvt Ltd BENEFITS OF ATTENDANCE:

ITS. Java WebService. ITS Data-Solutions Pvt Ltd BENEFITS OF ATTENDANCE: Java WebService BENEFITS OF ATTENDANCE: PREREQUISITES: Upon completion of this course, students will be able to: Describe the interoperable web services architecture, including the roles of SOAP and WSDL.

More information

XML Processing and Web Services. Chapter 17

XML Processing and Web Services. Chapter 17 XML Processing and Web Services Chapter 17 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of http://www.funwebdev.com Web Development Objectives 1 XML Overview 2 XML Processing

More information

Chapter 3: XML Namespaces

Chapter 3: XML Namespaces 3. XML Namespaces 3-1 Chapter 3: XML Namespaces References: Tim Bray, Dave Hollander, Andrew Layman: Namespaces in XML. W3C Recommendation, World Wide Web Consortium, Jan 14, 1999. [http://www.w3.org/tr/1999/rec-xml-names-19990114],

More information

Concrete uses of XML in software development and data analysis.

Concrete uses of XML in software development and data analysis. Concrete uses of XML in software development and data analysis. S. Patton LBNL, Berkeley, CA 94720, USA XML is now becoming an industry standard for data description and exchange. Despite this there are

More information

T XML in 2 lessons! %! " #$& $ "#& ) ' */,: -.,0+(. ". "'- (. 1

T XML in 2 lessons! %!  #$& $ #& ) ' */,: -.,0+(. . '- (. 1 XML in 2 lessons! :.. 1 Lets start This presentation will answer the fundamental questions: What is XML? How do I use XML? How does it work? What can I use it for, anyway? 2 World Wide Web Consortium (W3C)

More information

An XML Based Data Exchange Model for Power System Studies

An XML Based Data Exchange Model for Power System Studies ARI The Bulletin of the Istanbul Technical University VOLUME 54, NUMBER 2 Communicated by Sondan Durukanoğlu Feyiz An XML Based Data Exchange Model for Power System Studies Hasan Dağ Department of Electrical

More information

Semistructured data and XML. Institutt for Informatikk INF3100 09.04.2013 Ahmet Soylu

Semistructured data and XML. Institutt for Informatikk INF3100 09.04.2013 Ahmet Soylu Semistructured data and XML Institutt for Informatikk 1 Unstructured, Structured and Semistructured data Unstructured data e.g., text documents Structured data: data with a rigid and fixed data format

More information

Java and XML parsing. EH2745 Lecture #8 Spring 2015. larsno@kth.se

Java and XML parsing. EH2745 Lecture #8 Spring 2015. larsno@kth.se Java and XML parsing EH2745 Lecture #8 Spring 2015 larsno@kth.se Lecture Outline Quick Review The XML language Parsing Files in Java Quick Review We have in the first set of Lectures covered the basics

More information

Introduction to XML Applications

Introduction to XML Applications EMC White Paper Introduction to XML Applications Umair Nauman Abstract: This document provides an overview of XML Applications. This is not a comprehensive guide to XML Applications and is intended for

More information

JVA-561. Developing SOAP Web Services in Java

JVA-561. Developing SOAP Web Services in Java JVA-561. Developing SOAP Web Services in Java Version 2.2 A comprehensive look at the state of the art in developing interoperable web services on the Java EE 6 platform. Students learn the key standards

More information

XSL - Introduction and guided tour

XSL - Introduction and guided tour Concepts and Technologies of XML 6.1 XSL - Introduction and guided tour CT-XML 2014/2015 Warning! Authors " João Moura Pires (jmp@di.fct.unl.pt) " With contributions of Carlos Damásio (cd@di.fct.unl.pt)

More information

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR-603203 DEPARTMENT OF COMPUTER APPLICATIONS SUBJECT : MC7502 SERVICE ORIENTED ARCHITECTURE

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR-603203 DEPARTMENT OF COMPUTER APPLICATIONS SUBJECT : MC7502 SERVICE ORIENTED ARCHITECTURE VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR-603203 DEPARTMENT OF COMPUTER APPLICATIONS QUESTION BANK V SEMESTER MCA SUBJECT : MC7502 SERVICE ORIENTED ARCHITECTURE PART A UNIT I 1. What is

More information

JAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition.

JAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition. "( JAVA. EXAMPLES IN A NUTSHELL Third Edition David Flanagan O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Preface xi Parti. Learning Java 1. Java Basics 3 Hello

More information

DEVELOPMENT OF THE INTEGRATING AND SHARING PLATFORM OF SPATIAL WEBSERVICES

DEVELOPMENT OF THE INTEGRATING AND SHARING PLATFORM OF SPATIAL WEBSERVICES DEVELOPMENT OF THE INTEGRATING AND SHARING PLATFORM OF SPATIAL WEBSERVICES Lan Xiaoji 1,2 Lu Guonian 1 Zhang Shuliang 1 Shi Miaomiao 1 Yin Lili 1 1. Jiangsu Provincial Key Lab of GIS Science, Nanjing Normal

More information

Keywords: XML, Web-based Editor

Keywords: XML, Web-based Editor A WEB-BASED XML EDITOR Rahul Shrivastava, Sherif Elfayoumy, and Sanjay Ahuja rshrivas@unf.edu, selfayou@unf.edu, sahuja@unf.edu Department of Computer and Information Sciences University of North Florida

More information

Web services payment systems. Master Thesis Technical University of Denmark

Web services payment systems. Master Thesis Technical University of Denmark Master Thesis Technical University of Denmark Submitted by Mike Andreasen 31.12.2003 Contents Preface... 5 Introduction... 6 State of the art... 7 Distributed computing evolution... 7 Introduction to XML...

More information

10CS73:Web Programming

10CS73:Web Programming 10CS73:Web Programming Question Bank Fundamentals of Web: 1.What is WWW? 2. What are domain names? Explain domain name conversion with diagram 3.What are the difference between web browser and web server

More information

Change Management for XML, in XML

Change Management for XML, in XML This is a draft for a chapter in the 5 th edition of The XML Handbook, due for publication in late 2003. Authors: Martin Bryan, Robin La Fontaine Change Management for XML, in XML The benefits of change

More information

by LindaMay Patterson PartnerWorld for Developers, AS/400 January 2000

by LindaMay Patterson PartnerWorld for Developers, AS/400 January 2000 Home Products Consulting Industries News About IBM by LindaMay Patterson PartnerWorld for Developers, AS/400 January 2000 Copyright IBM Corporation, 1999. All Rights Reserved. All trademarks or registered

More information

XML Parsing and Web Services Seminar Enterprise Computing

XML Parsing and Web Services Seminar Enterprise Computing Seminar Enterprise Computing Winter Term 2004/05 University of Applied Sciences, Aargau Faculty of Engineering and Technology Author: Siarhei Sirotkin Scientic Adviser: Prof. Dr. Dominik Gruntz Windisch,

More information

XML in Programming 2, Web services

XML in Programming 2, Web services XML in Programming 2, Web services Patryk Czarnik XML and Applications 2013/2014 Lecture 5 4.11.2013 Features of JAXP 3 models of XML documents in Java: DOM, SAX, StAX Formally JAXB is a separate specification

More information

Java Web Services Training

Java Web Services Training Java Web Services Training Duration: 5 days Class Overview A comprehensive look at the state of the art in developing interoperable web services on the Java EE 6 platform. Students learn the key standards

More information

Introduction to Web Services

Introduction to Web Services Department of Computer Science Imperial College London CERN School of Computing (icsc), 2005 Geneva, Switzerland 1 Fundamental Concepts Architectures & escience example 2 Distributed Computing Technologies

More information

2. Define Contemporary SOA. Contemporary SOA represents an architecture that promotes service orientation through the use of web services.

2. Define Contemporary SOA. Contemporary SOA represents an architecture that promotes service orientation through the use of web services. MC7502 SERVICE ORIENTED ARCHITECTURE UNIT I : SOABASICS Part A 1. What is Service Oriented Architecture? Service oriented architecture is essentially a collection of services. These services communicate

More information

Managing XML Documents Versions and Upgrades with XSLT

Managing XML Documents Versions and Upgrades with XSLT Managing XML Documents Versions and Upgrades with XSLT Vadim Zaliva, lord@crocodile.org 2001 Abstract This paper describes mechanism for versioning and upgrding XML configuration files used in FWBuilder

More information

High Performance XML Data Retrieval

High Performance XML Data Retrieval High Performance XML Data Retrieval Mark V. Scardina Jinyu Wang Group Product Manager & XML Evangelist Oracle Corporation Senior Product Manager Oracle Corporation Agenda Why XPath for Data Retrieval?

More information

Overview of DatadiagramML

Overview of DatadiagramML Overview of DatadiagramML Microsoft Corporation March 2004 Applies to: Microsoft Office Visio 2003 Summary: This document describes the elements in the DatadiagramML Schema that are important to document

More information

Quiz! Database Indexes. Index. Quiz! Disc and main memory. Quiz! How costly is this operation (naive solution)?

Quiz! Database Indexes. Index. Quiz! Disc and main memory. Quiz! How costly is this operation (naive solution)? Database Indexes How costly is this operation (naive solution)? course per weekday hour room TDA356 2 VR Monday 13:15 TDA356 2 VR Thursday 08:00 TDA356 4 HB1 Tuesday 08:00 TDA356 4 HB1 Friday 13:15 TIN090

More information

LabVIEW Internet Toolkit User Guide

LabVIEW Internet Toolkit User Guide LabVIEW Internet Toolkit User Guide Version 6.0 Contents The LabVIEW Internet Toolkit provides you with the ability to incorporate Internet capabilities into VIs. You can use LabVIEW to work with XML documents,

More information

How To Use Xml In A Web Browser (For A Web User)

How To Use Xml In A Web Browser (For A Web User) Anwendersoftware a Advanced Information Management Chapter 3: XML Basics Holger Schwarz Universität Stuttgart Sommersemester 2009 Overview Motivation Fundamentals Document Type Definition (DTD) XML Namespaces

More information

WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007

WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007 WWW World Wide Web Aka The Internet dr. C. P. J. Koymans Informatics Institute Universiteit van Amsterdam November 30, 2007 dr. C. P. J. Koymans (UvA) WWW November 30, 2007 1 / 36 WWW history (1) 1968

More information

XML in programming. Patryk Czarnik. XML and Modern Techniques of Content Management 2012/13

XML in programming. Patryk Czarnik. XML and Modern Techniques of Content Management 2012/13 XML in programming Patryk Czarnik Institute of Informatics University of Warsaw XML and Modern Techniques of Content Management 2012/13 Introduction XML in programming XML in programming what for? To

More information

Presentation / Interface 1.3

Presentation / Interface 1.3 W3C Recommendations Mobile Web Best Practices 1.0 Canonical XML Version 1.1 Cascading Style Sheets, level 2 (CSS2) SPARQL Query Results XML Format SPARQL Protocol for RDF SPARQL Query Language for RDF

More information

IT6503 WEB PROGRAMMING. Unit-I

IT6503 WEB PROGRAMMING. Unit-I Handled By, VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603203. Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Mr. K. Ravindran, A.P(Sr.G)

More information

Agents and Web Services

Agents and Web Services Agents and Web Services ------SENG609.22 Tutorial 1 Dong Liu Abstract: The basics of web services are reviewed in this tutorial. Agents are compared to web services in many aspects, and the impacts of

More information

By Nabil ADOUI, member of the 4D Technical Support team

By Nabil ADOUI, member of the 4D Technical Support team XSLT with PHP By Nabil ADOUI, member of the 4D Technical Support team Contents Summary... 3 Introduction... 3 Important elements... 3 The PHP XSL library... 4 The PHP XSL API... 5 XSLTProcessor:: construct...

More information

Computer Science E-259

Computer Science E-259 XML with Java, Java Servlet, and JSP Lecture 1: Introduction 17 September 2007 David J. Malan malan@post.harvard.edu 1 The Hype In the Press "XML, as a context-rich, data-neutral file format, is probably

More information

Managing large sound databases using Mpeg7

Managing large sound databases using Mpeg7 Max Jacob 1 1 Institut de Recherche et Coordination Acoustique/Musique (IRCAM), place Igor Stravinsky 1, 75003, Paris, France Correspondence should be addressed to Max Jacob (max.jacob@ircam.fr) ABSTRACT

More information

Developing XML Solutions with JavaServer Pages Technology

Developing XML Solutions with JavaServer Pages Technology Developing XML Solutions with JavaServer Pages Technology XML (extensible Markup Language) is a set of syntax rules and guidelines for defining text-based markup languages. XML languages have a number

More information

Data XML and XQuery A language that can combine and transform data

Data XML and XQuery A language that can combine and transform data Data XML and XQuery A language that can combine and transform data John de Longa Solutions Architect DataDirect technologies john.de.longa@datadirect.com Mobile +44 (0)7710 901501 Data integration through

More information

ISM/ISC Middleware Module

ISM/ISC Middleware Module ISM/ISC Middleware Module Lecture 14: Web Services and Service Oriented Architecture Dr Geoff Sharman Visiting Professor in Computer Science Birkbeck College Geoff Sharman Sept 07 Lecture 14 Aims to: Introduce

More information

Structured Data and Visualization. Structured Data. Programming Language Support. Programming Language Support. Programming Language Support

Structured Data and Visualization. Structured Data. Programming Language Support. Programming Language Support. Programming Language Support Structured Data and Visualization Structured Data Programming Language Support Schemas become Types Xml docs become Values parsers and validators A language to describe the structure of documents A language

More information

Service Oriented Computing: SOAP, WSDL and UDDI. Dr. Cristian Mateos Diaz (http://users.exa.unicen.edu.ar/~cmateos/cos) ISISTAN - CONICET

Service Oriented Computing: SOAP, WSDL and UDDI. Dr. Cristian Mateos Diaz (http://users.exa.unicen.edu.ar/~cmateos/cos) ISISTAN - CONICET Service Oriented Computing: SOAP, WSDL and UDDI Dr. Cristian Mateos Diaz (http://users.exa.unicen.edu.ar/~cmateos/cos) ISISTAN - CONICET XML family of standards Domain-specific XML-based standards e.g.,

More information

JAVA r VOLUME II-ADVANCED FEATURES. e^i v it;

JAVA r VOLUME II-ADVANCED FEATURES. e^i v it; ..ui. : ' :>' JAVA r VOLUME II-ADVANCED FEATURES EIGHTH EDITION 'r.", -*U'.- I' -J L."'.!'.;._ ii-.ni CAY S. HORSTMANN GARY CORNELL It.. 1 rlli!>*-

More information

Java and XSLT. Java and XSLT. By GiantDino. Eric M. Burke Publisher: O'Reilly First Edition September 2001 ISBN: 0-596-00143-6, 528 pages

Java and XSLT. Java and XSLT. By GiantDino. Eric M. Burke Publisher: O'Reilly First Edition September 2001 ISBN: 0-596-00143-6, 528 pages Java and XSLT Eric M. Burke Publisher: O'Reilly First Edition September 2001 ISBN: 0-596-00143-6, 528 pages By GiantDino Copyright Table of Contents Index Full Description About the Author Reviews Reader

More information

Structured vs. unstructured data. Motivation for self describing data. Enter semistructured data. Databases are highly structured

Structured vs. unstructured data. Motivation for self describing data. Enter semistructured data. Databases are highly structured Structured vs. unstructured data 2 Databases are highly structured Semistructured data, XML, DTDs Well known data format: relations and tuples Every tuple conforms to a known schema Data independence?

More information

Extensible Markup Language (XML): Essentials for Climatologists

Extensible Markup Language (XML): Essentials for Climatologists Extensible Markup Language (XML): Essentials for Climatologists Alexander V. Besprozvannykh CCl OPAG 1 Implementation/Coordination Team The purpose of this material is to give basic knowledge about XML

More information

WIRIS quizzes web services Getting started with PHP and Java

WIRIS quizzes web services Getting started with PHP and Java WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS

More information

Java EE Introduction, Content. Component Architecture: Why and How Java EE: Enterprise Java

Java EE Introduction, Content. Component Architecture: Why and How Java EE: Enterprise Java Java EE Introduction, Content Component Architecture: Why and How Java EE: Enterprise Java The Three-Tier Model The three -tier architecture allows to maintain state information, to improve performance,

More information

XML. CIS-3152, Spring 2013 Peter C. Chapin

XML. CIS-3152, Spring 2013 Peter C. Chapin XML CIS-3152, Spring 2013 Peter C. Chapin Markup Languages Plain text documents with special commands PRO Plays well with version control and other program development tools. Easy to manipulate with scripts

More information

Developing Web Services with Eclipse

Developing Web Services with Eclipse Developing Web Services with Eclipse Arthur Ryman IBM Rational ryman@ca.ibm.com Page Abstract The recently created Web Tools Platform Project extends Eclipse with a set of Open Source Web service development

More information

Standard Recommended Practice extensible Markup Language (XML) for the Interchange of Document Images and Related Metadata

Standard Recommended Practice extensible Markup Language (XML) for the Interchange of Document Images and Related Metadata Standard for Information and Image Management Standard Recommended Practice extensible Markup Language (XML) for the Interchange of Document Images and Related Metadata Association for Information and

More information

Ambientes de Desenvolvimento Avançados

Ambientes de Desenvolvimento Avançados Ambientes de Desenvolvimento Avançados http://www.dei.isep.ipp.pt/~jtavares/adav/adav.htm Aula 18 Engenharia Informática 2006/2007 José António Tavares jrt@isep.ipp.pt 1 Web services standards 2 1 Antes

More information

Integrating Bioinformatic Data Sources over the SFSU ER Design Tools XML Databus

Integrating Bioinformatic Data Sources over the SFSU ER Design Tools XML Databus Integrating Bioinformatic Data Sources over the SFSU ER Design Tools XML Databus Yan Liu, M.S. Computer Science Department San Francisco State University 1600 Holloway Avenue San Francisco, CA 94132 USA

More information

www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk

www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 Which of the following is a general purpose container? JFrame Dialog JPanel JApplet Which of the following package needs to be import while handling

More information

Towards XML-based Network Management for IP Networks

Towards XML-based Network Management for IP Networks Towards XML-based Network Management for IP Networks Mi-Jung Choi*, Yun-Jung Oh*, Hong-Taek Ju**, and Won-Ki Hong* * Dept. of Computer Science and Engineering, POSTECH, Korea ** Dept. of Computer Engineering,

More information

XSLT Mapping in SAP PI 7.1

XSLT Mapping in SAP PI 7.1 Applies to: SAP NetWeaver Process Integration 7.1 (SAP PI 7.1) Summary This document explains about using XSLT mapping in SAP Process Integration for converting a simple input to a relatively complex output.

More information

XML- New meta language in e-business

XML- New meta language in e-business 1 XML- New meta language in e-business XML (extensible Markup Language) has established itself as a new meta language in e-business. No matter what, text, pictures, video- or audio files - with the flexibility

More information

Firewall Builder Architecture Overview

Firewall Builder Architecture Overview Firewall Builder Architecture Overview Vadim Zaliva Vadim Kurland Abstract This document gives brief, high level overview of existing Firewall Builder architecture.

More information

BACKGROUND. Namespace Declaration and Qualification

BACKGROUND. Namespace Declaration and Qualification LOGISTICS MANAGEMENT INSTITUTE Recommended XML Namespace for Government Organizations GS301L1/AUGUST 2003 By Jessica L. Glace and Mark R. Crawford INTRODUCTION The Extensible Markup Language (XML) is rapidly

More information

Oracle Service Bus. User Guide 10g Release 3 Maintenance Pack 1 (10.3.1) June 2009

Oracle Service Bus. User Guide 10g Release 3 Maintenance Pack 1 (10.3.1) June 2009 Oracle Service Bus User Guide 10g Release 3 Maintenance Pack 1 (10.3.1) June 2009 Oracle Service Bus User Guide, 10g Release 3 Maintenance Pack 1 (10.3.1) Copyright 2007, 2008, Oracle and/or its affiliates.

More information

Data Integration through XML/XSLT. Presenter: Xin Gu

Data Integration through XML/XSLT. Presenter: Xin Gu Data Integration through XML/XSLT Presenter: Xin Gu q7.jar op.xsl goalmodel.q7 goalmodel.xml q7.xsl help, hurt GUI +, -, ++, -- goalmodel.op.xml merge.xsl goalmodel.input.xml profile.xml Goal model configurator

More information

Copyright. Restricted Rights Legend. Trademarks or Service Marks. Copyright 2003 BEA Systems, Inc. All Rights Reserved.

Copyright. Restricted Rights Legend. Trademarks or Service Marks. Copyright 2003 BEA Systems, Inc. All Rights Reserved. Version 8.1 SP4 December 2004 Copyright Copyright 2003 BEA Systems, Inc. All Rights Reserved. Restricted Rights Legend This software and documentation is subject to and made available only pursuant to

More information

Multimedia Applications. Mono-media Document Example: Hypertext. Multimedia Documents

Multimedia Applications. Mono-media Document Example: Hypertext. Multimedia Documents Multimedia Applications Chapter 2: Basics Chapter 3: Multimedia Systems Communication Aspects and Services Chapter 4: Multimedia Systems Storage Aspects Chapter 5: Multimedia Usage and Applications Documents

More information

Agenda Summary of Previous Session

Agenda Summary of Previous Session XML for Java Developers G22.3033-002 Session 2 - Main Theme Markup Language Technologies (Part II) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical

More information

Structured vs. unstructured data. Semistructured data, XML, DTDs. Motivation for self-describing data

Structured vs. unstructured data. Semistructured data, XML, DTDs. Motivation for self-describing data Structured vs. unstructured data 2 Semistructured data, XML, DTDs Introduction to databases CSCC43 Winter 2011 Ryan Johnson Databases are highly structured Well-known data format: relations and tuples

More information

Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies

Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies Yoon-Jung Oh, Hong-Taek Ju and James W. Hong {bheart, juht, jwkhong}@postech.ac.kr Distributed Processing & Network Management

More information

N CYCLES software solutions. XML White Paper. Where XML Fits in Enterprise Applications. May 2001

N CYCLES software solutions. XML White Paper. Where XML Fits in Enterprise Applications. May 2001 N CYCLES software solutions White Paper Where Fits in Enterprise Applications May 2001 65 Germantown Court 1616 West Gate Circle Suite 205 Nashville, TN 37027 Cordova, TN 38125 Phone 901-756-2705 Phone

More information

XIII. Service Oriented Computing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

XIII. Service Oriented Computing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini XIII. Service Oriented Computing Laurea Triennale in Informatica Corso di Outline Enterprise Application Integration (EAI) and B2B applications Service Oriented Architecture Web Services WS technologies

More information

TagSoup: A SAX parser in Java for nasty, ugly HTML. John Cowan (cowan@ccil.org)

TagSoup: A SAX parser in Java for nasty, ugly HTML. John Cowan (cowan@ccil.org) TagSoup: A SAX parser in Java for nasty, ugly HTML John Cowan (cowan@ccil.org) Copyright This presentation is: Copyright 2004 John Cowan Licensed under the GNU General Public License ABSOLUTELY WITHOUT

More information

Exchanger XML Editor - Canonicalization and XML Digital Signatures

Exchanger XML Editor - Canonicalization and XML Digital Signatures Exchanger XML Editor - Canonicalization and XML Digital Signatures Copyright 2005 Cladonia Ltd Table of Contents XML Canonicalization... 2 Inclusive Canonicalization... 2 Inclusive Canonicalization Example...

More information

NetBeans IDE Field Guide

NetBeans IDE Field Guide NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending J2EE Applications with Web Services...1 Consuming Existing Web Services...2 Implementing

More information

A Workbench for Prototyping XML Data Exchange (extended abstract)

A Workbench for Prototyping XML Data Exchange (extended abstract) A Workbench for Prototyping XML Data Exchange (extended abstract) Renzo Orsini and Augusto Celentano Università Ca Foscari di Venezia, Dipartimento di Informatica via Torino 155, 30172 Mestre (VE), Italy

More information

The presentation explains how to create and access the web services using the user interface. WebServices.ppt. Page 1 of 14

The presentation explains how to create and access the web services using the user interface. WebServices.ppt. Page 1 of 14 The presentation explains how to create and access the web services using the user interface. Page 1 of 14 The aim of this presentation is to familiarize you with the processes of creating and accessing

More information

Accessing Data with ADOBE FLEX 4.6

Accessing Data with ADOBE FLEX 4.6 Accessing Data with ADOBE FLEX 4.6 Legal notices Legal notices For legal notices, see http://help.adobe.com/en_us/legalnotices/index.html. iii Contents Chapter 1: Accessing data services overview Data

More information

DataDirect XQuery Technical Overview

DataDirect XQuery Technical Overview DataDirect XQuery Technical Overview Table of Contents 1. Feature Overview... 2 2. Relational Database Support... 3 3. Performance and Scalability for Relational Data... 3 4. XML Input and Output... 4

More information

Run-time Service Oriented Architecture (SOA) V 0.1

Run-time Service Oriented Architecture (SOA) V 0.1 Run-time Service Oriented Architecture (SOA) V 0.1 July 2005 Table of Contents 1.0 INTRODUCTION... 1 2.0 PRINCIPLES... 1 3.0 FERA REFERENCE ARCHITECTURE... 2 4.0 SOA RUN-TIME ARCHITECTURE...4 4.1 FEDERATES...

More information

Unified XML/relational storage March 2005. The IBM approach to unified XML/relational databases

Unified XML/relational storage March 2005. The IBM approach to unified XML/relational databases March 2005 The IBM approach to unified XML/relational databases Page 2 Contents 2 What is native XML storage? 3 What options are available today? 3 Shred 5 CLOB 5 BLOB (pseudo native) 6 True native 7 The

More information

Digital Signature Web Service Interface

Digital Signature Web Service Interface 1 2 Digital Signature Web Service Interface 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 1 Introduction This document describes an RPC interface for a centralized

More information

An Overview of Java. overview-1

An Overview of Java. overview-1 An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2

More information

<Namespaces> Core XML Technologies. Why Namespaces? Namespaces - based on unique prefixes. Namespaces. </Person>

<Namespaces> Core XML Technologies. Why Namespaces? Namespaces - based on unique prefixes. Namespaces. </Person> Core XML Technologies Namespaces Why Namespaces? bob roth 814.345.6789 Mariott If we combine these two documents

More information

Introduction into Web Services (WS)

Introduction into Web Services (WS) (WS) Adomas Svirskas Agenda Background and the need for WS SOAP the first Internet-ready RPC Basic Web Services Advanced Web Services Case Studies The ebxml framework How do I use/develop Web Services?

More information

Java EE Web Development Course Program

Java EE Web Development Course Program Java EE Web Development Course Program Part I Introduction to Programming 1. Introduction to programming. Compilers, interpreters, virtual machines. Primitive types, variables, basic operators, expressions,

More information