technische universität dortmund Prof. Dr. Ramin Yahyapour

Size: px
Start display at page:

Download "technische universität dortmund Prof. Dr. Ramin Yahyapour"

Transcription

1 technische universität Prof. Dr. Ramin Yahyapour IT & Medien Centrum 20. April 2010

2 Übungen Betreuung Florian Feldhaus, Peter Chronz Termine Mittwochs 14:15 15:00 Uhr, GB IV R.228 Donnerstags 10:15 11:00 Uhr, Pav 6 R.18 Erste Übung: 28. und 29. April Aufgaben Anmeldung und Abgaben über ASSESS Materialien im EWS Leistungsnachweis (unbenotet) 10 Punkte pro Übungsblatt 50% der Punkte der Übungsblätter 1-6 und 50% der Punkte der Übungsblätter 6-12 müssen erreicht werden Aktive Teilnahme an den Übungen

3 Raumänderung Wegen Umbau von HS2/HG1 im Sommersemester: ab KW17 (ab Vorlesung 27.April): Vorlesungen immer (!) in *Raum 21 im Pavillon 8* Campus Süd

4 HTTP Response HTTP/ OK Date: Fri, 31 Dec :59:59 GMT Content-Type: text/html Content-Length: 1354 <html> <body> <h1>welcome to my new Homepage!</h1> (more file contents)... </body> </html> 4

5 XML Example <?xml version="1.0"?> <booklist> <book available="yes"> <title> Java and XML </title> <author> Brett McLaughlin </author> <isbn> </isbn> </book> <book available="yes"> <title> Java 2 Micro Edition </title> <author> Eric Giguere </author> <isbn> </isbn> </book> <book available="no"> <title> Core Jini </title> <author> W. Keith Edwards </author> <isbn> </isbn> </book> </booklist> 5

6 SAX Parser (1) Import SAX Classes import org.xml.sax.attributes; import org.xml.sax.contenthandler; import org.xml.sax.locator; import org.xml.sax.saxexception; import org.xml.sax.xmlreader; import org.apache.xerces.parsers.saxparser; 6

7 SAX Parser (2) Install Parser and Input Stream public class MySAXParser { public void parsefile(string uri) { public static void main(string[] args) { MySAXParser mysax = new MySAXParser(); mysax.parsefile("booklist.xml"); 7

8 SAX Parser (3) Install ContentHandler and Exceptions public void parsefile(string uri) { XMLReader parser = new SAXParser(); // Create an instance of MyContentHandler ContentHandler myhandler = new MyContentHandler(); parser.setcontenthandler(myhandler); try { parser.parse(uri); catch (IOException e) { System.out.println("Error reading file: " + e.getmessage()); System.exit(1); catch (SAXException e) { System.out.println("Error parsing file: " + e.getmessage()); System.exit(1); System.out.println("File parsed successfully!"); 8

9 SAX Parser (4) ContentHandler class MyContentHandler implements ContentHandler { private Locator locator; public void setdocumentlocator(locator locator) { public void startdocument() throws SAXException { public void enddocument() throws SAXException { public void startprefixmapping(string prefix, String uri){ public void endprefixmapping(string prefix) throws SAXException { 9

10 SAX Parser (5) ContentHandler class MyContentHandler implements ContentHandler { public void startelement( String namespaceuri, String localname, String qname, Attributes atts) throws SAXException { public void endelement( String namespaceuri, String localname, String qname) throws SAXException { 10

11 SAX Parser (6) ContentHandler class MyContentHandler implements ContentHandler { public void characters(char[] ch, int start, int length){ public void ignorablewhitespace(char[] ch, int start, int length) throws SAXException { public void processinginstruction(string target, String data) throws SAXException { public void skippedentity(string name) throws SAXException { 11

12 Validation Example DTD <!ELEMENT Book ( Title, Author, ISBN)> <!ATTLIST Book available CDATA #REQUIRED > <!ELEMENT Title (#PCDATA)> <!ELEMENT Author (#PCDATA)> <!ELEMENT ISBN (#PCDATA)> 12

13 Validation Example XML Schema <?xml version="1.0"?> <schema targetnamespace=" <element name="book" type="booktype" /> <complextype name="booktype"> <element name= Title" type="string" /> <element name= Author" type= string" /> <element name= ISBN" type="string" /> <attribute name= available" default= yes"> </attribute> <simpletype base="string"></simpletype> </complextype> </schema> 13

14 XML Document Tree Book XHTML Title Author Content Price ISBN HEAD BODY Chapter Title Chapter Transforming Document Trees 14

15 Transformations with XSL <?xml version="1.0"?> <xsl:stylesheet version="1.0" 1999/XSL/Transform" > xmlns:xsl=" Rules </xsl:stylesheet> 15

16 Transformations with XSL Rules <?xml version="1.0"?> <xsl:stylesheet version="1.0" 1999/XSL/Transform" > xmlns:xsl=" <xsl:template match= Book"> Action </xsl:template> </xsl:stylesheet> 16

17 Transformations with XSL Example of Transformation <?xml version="1.0"?> <xsl:stylesheet version="1.0" 1999/XSL/Transform" > xmlns:xsl=" XPath-Referencing <xsl:template match= Book"> <html> <head> <title> <xsl:value-of select="title"/> </title> </head> <body> <xsl:apply-templates select= *" /> </body> </html> </xsl:template> XPath-Filtering </xsl:stylesheet> 17

18 Transformations with XSL Iterations <xsl:template match= Book"> <xsl:for-each select= Chapter"> <li> <xsl:value-of select= ChapterName" /> </li> </xsl:for-each> </xsl:template> 18

19 Using DOM public class DOMParserDemo { public void performdemo(string uri) { System.out.println("Parsing XML File: " + uri + "\n\n"); // Instantiate your vendor's DOM parser implementation DOMParser parser = new DOMParser(); parser.setfeature(" true); parser.parse(uri); Document doc = parser.getdocument(); do something with DOM public static void main(string[] args) { String uri = args[0]; DOMParserDemo parserdemo = new DOMParserDemo(); parserdemo.performdemo(uri); 19

20 Using DOM (2) Example for Accessing DOM Nodes public void printnode(node node, String indent) { switch (node.getnodetype()) { case Node.DOCUMENT_NODE: System.out.println("<xml version=\"1.0\">\n"); // recurse on each child NodeList nodes = node.getchildnodes(); if (nodes!= null) { for (int i=0; i<nodes.getlength(); i++) { break; printnode(nodes.item(i), ""); case Node.ELEMENT_NODE: case Node.TEXT_NODE: case Node.CDATA_SECTION_NODE: case Node.PROCESSING_INSTRUCTION_NODE: case Node.ENTITY_REFERENCE_NODE: case Node.DOCUMENT_TYPE_NODE: 20

21 Using DOM (2) Example for Accessing DOM Nodes public void printnode(node node, String indent) { switch (node.getnodetype()) { case Node.DOCUMENT_NODE: case Node.ELEMENT_NODE: String name = node.getnodename(); System.out.print(indent + "<" + name); NamedNodeMap attributes = node.getattributes(); for (int i=0; i<attributes.getlength(); i++) { Node current = attributes.item(i); System.out.print(" " + current.getnodename() + "=\"" + current.getnodevalue() + "\""); System.out.println(">"); // recurse on each child NodeList children = node.getchildnodes(); if (children!= null) { for (int i=0; i<children.getlength(); i++) { printnode(children.item(i), indent + " "); System.out.println(indent + "</" + name + ">"); break; case Node.TEXT_NODE: case Node.CDATA_SECTION_NODE: case Node.PROCESSING_INSTRUCTION_NODE: case Node.ENTITY_REFERENCE_NODE: case Node.DOCUMENT_TYPE_NODE: 21

22 SOAP-Webservices

23 SOAP Example Request <SOAP-ENV:Envelope xmlns:soap-env="soapenvelopeuri" SOAP-ENV:encodingStyle="SoapEncodingURI"> <SOAP-ENV:Header> </SOAP-ENV:Header> <SOAP-ENV:Body> <m:getlasttradeprice xmlns:m="serviceuri"> <tickersymbol>sunw</tickersymbol> </m:getlasttradeprice> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Winter 2009/10 23

24 Sample SOAP Request POST /Supplier HTTP/1.1 Host: Content-Type: text/xml; charset="utf-8" Content-Length: nnnn SOAPAction: "Some-URI" <SOAP-ENV:Envelope xmlns:soap-env=" soap/envelope/" SOAP-ENV:encodingStyle=" schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <m:orderitem xmlns:m="some-uri"> <RetailerID>557010<</RetailerID> <ItemNumber> </ItemNumber> <ItemName>AMF Night Hawk Pearl M2</ItemName> <ItemDesc>Bowling Ball</ItemDesc> <OrderQuantity>100</OrderQuantity> <WholesalePrice>130.95</WholeSalePrice> <OrderDateTime> :09:56</OrderDateTime> </m:orderitem> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Envelope body header Winter 2009/10 24

25 SOAP Response Format HTTP/ OK Content-Type: text/xml; charset="utf-8" Content-Length: nnnn header <SOAP-ENV:Envelope xmlns:soap-env=" SOAP-ENV:encodingStyle=" encoding/"/> <SOAP-ENV:Body> <m:orderitemresponse xmlns:m="some-uri"> <OrderNumber>561381</OrderNumber> </m:orderitemresponse> </SOAP-ENV:Body> Envelope body </SOAP-ENV:Envelope> Winter 2009/10 25

26 WSDL components Winter 2009/10 26

27 Step 1: Write Java Application public class StockQuoteService { DocumentBuilder xdb = XMLParserUtils.getXMLDocBuilder(); public float getquote (String symbol) throws Exception { URL url = new URL (" InputStream is = url.openstream (); Document d = xdb.parse(is); Element e = d.getdocumentelement (); NodeList nl = e.getelementsbytagname ("price"); e = (Element) nl.item (0); String quotestr = e.getattribute ("value"); try { return Float.valueOf (quotestr).floatvalue (); catch (NumberFormatException e1) { // mebbe its an int? try { return Integer.valueOf (quotestr).intvalue () * 1.0F; catch (NumberFormatException e2) { return -1.0F; Winter 2009/10 27

28 Generate WSDL (sqs.wsdl) <?xml version="1.0" encoding="utf-8"?> <definitions xmlns=" xmlns:interface=" xmlns:soap=" xmlns:xsd=" name="stockquoteservice" targetnamespace=" <import location=" namespace=" <service name="stockquoteservice"> <documentation>stock Quote Service</documentation> <port binding="interface:stockquoteservicebinding" name="demo"> <soap:address location=" StockQuoteService"/> </port> </service> </definitions> Winter 2009/10 28

29 <?xml version="1.0" encoding="utf-8"?> <definitions xmlns=" xmlns:soap=" schemas.xmlsoap.org/wsdl/soap/" Generate WSDL (sqs-interface.wsdl) xmlns:tns=" StockQuoteService-interface" xmlns:xsd=" name="stockquoteservice-interface" targetnamespace=" StockQuoteService-interface"> <message name="symbolrequest"> <part name="symbol" type="xsd:string"/> </message> <message name="quoteresponse"> <part name="quote" type="xsd:string"/> </message> <porttype name="stockquoteservice"> <operation name="getquote"> <input message="tns:symbolrequest"/> <output message="tns:quoteresponse"/> </operation> </porttype> message porttype

30 <binding name="stockquoteservicebinding" type="tns:stockquoteservice"> Generate WSDL (sqs-interface.wsdl) <soap:binding style="rpc" transport=" soap/http"/> > <operation name="getquote"> <soap:operation soapaction=" <input> <soap:body encodingstyle=" encoding/" namespace=" use="encoded"/> </input> <output> <soap:body encodingstyle=" encoding/" namespace=" use="encoded"/> Binding (SOAP) </output> </operation> </binding> </definitions> Winter 2009/10 30

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

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

Web-Service Example. Service Oriented Architecture

Web-Service Example. Service Oriented Architecture Web-Service Example Service Oriented Architecture 1 Roles Service provider Service Consumer Registry Operations Publish (by provider) Find (by requester) Bind (by requester or invoker) Fundamentals Web

More information

What is in a Distributed Object System? Distributed Object Systems 5 XML-RPC / SOAP. Examples. Problems. HTTP protocol. Evolution

What is in a Distributed Object System? Distributed Object Systems 5 XML-RPC / SOAP. Examples. Problems. HTTP protocol. Evolution Distributed Object Systems 5 XML-RPC / SOAP Piet van Oostrum What is in a Distributed Object System? Wire (transport) protocol Marshalling standard Language bindings Middle-ware (ORB) Interface specification

More information

Service Oriented Architecture using JAVA

Service Oriented Architecture using JAVA Service Oriented Architecture using JAVA on NetBeans and GlassFish 3 By Eduardo Cavasotti 4/20/10 2 Table of Contents Abstract:... 3 Introduction:... 3 Tools:... 4 Getting ready... 4 Web Service Definition

More information

Introduction. Tom Dinkelaker, Ericsson Guido Salvaneschi, Mira Mezini, TUD

Introduction. Tom Dinkelaker, Ericsson Guido Salvaneschi, Mira Mezini, TUD Introduction Tom Dinkelaker, Ericsson Guido Salvaneschi, Mira Mezini, TUD Agenda of KICK-OFF MEETING Introduction Organization of Course Topics Questions & Answers Ericsson Telekommunikation GmbH & Co.

More information

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

Affiliate SOAP-API. Content:

Affiliate SOAP-API. Content: Affiliate SOAP-API Content: QualityClick SOAP-API Documentation - URI - Method - Authentication - Description of the SOAP-Service - Search transaction data - Request statistics - Response values of SOAP

More information

Send your request via a SOAP-Request (e.g. with DotNET/SOAP, Java, PHP) to he following URL of our server:

Send your request via a SOAP-Request (e.g. with DotNET/SOAP, Java, PHP) to he following URL of our server: 1 QualityClick SOAP-API Documentation 1.1 URI soap uri: soap proxy: ' ' https://www.qc-domain.de/iqx_downlink'; https://www.qc-domain.de/iqx_downlink_soap.cgi'; 1.2 Method Send your request via a SOAP-Request

More information

Call Detail Record Access Service Part No. 520-0015-01R01

Call Detail Record Access Service Part No. 520-0015-01R01 Call Detail Record Access Service Part No. 520-0015-01R01 Summary Objective WSDL URL (Testing) WSDL URL (Hosting Production) Endpoint URL (Testing) Endpoint URL (Hosting Production) Namespace URI Service

More information

Web Services. Distributed Object Systems 11. Web Services, SOAP and NET. Web Applications. Web Services. Web services vs Distributed Objects

Web Services. Distributed Object Systems 11. Web Services, SOAP and NET. Web Applications. Web Services. Web services vs Distributed Objects Distributed Object Systems 11 Web Services, SOAP and NET Piet van Oostrum Web Services Some Definitions A Web Service is a software system designed to support interoperable machine-to-machine interaction

More information

WSDL Example (Interface) WSDL Example (Implementation) Universal Description, Discovery and Integration. UDDI Usage

WSDL Example (Interface) WSDL Example (Implementation) Universal Description, Discovery and Integration. UDDI Usage Web Services Description Language WSDL Elements WSDL describes, how and where to access a service, i.e. the service interface, similar to remote object approaches like CORBA: What can the service do? -

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

Using ilove SharePoint Web Services Workflow Action

Using ilove SharePoint Web Services Workflow Action Using ilove SharePoint Web Services Workflow Action This guide describes the steps to create a workflow that will add some information to Contacts in CRM. As an example, we will use demonstration site

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

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

Griglie e Sistemi di Elaborazione Ubiqui

Griglie e Sistemi di Elaborazione Ubiqui 1 Griglie e Sistemi di Elaborazione Ubiqui Corso di Laurea Specialistica in Ingegneria informatica Lucidi delle Esercitazioni Anno Accademico 2005/2006 Ing. Antonio Congiusta Summary 2 Web Services introduction

More information

Demonstrating EMail BC: Sending Out Mass Emailing v1.0

Demonstrating EMail BC: Sending Out Mass Emailing v1.0 Demonstrating EMail BC: Sending Out Mass Emailing v1.0 thomas.barrett@sun.com July 10, 2009 Lets assume that you want to see the EMail binding component in action. You are looking for a Hello World sort

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

What is Distributed Annotation System?

What is Distributed Annotation System? Contents ISiLS Lecture 12 short introduction to data integration F.J. Verbeek Genome browsers Solutions for integration CORBA SOAP DAS Ontology mapping 2 nd lecture BioASP roadshow 1 2 Human Genome Browsers

More information

Middleware and the Internet

Middleware and the Internet Middleware and the Internet Middleware today Designed for special purposes (e.g. DCOM) or with overloaded specification (e.g. CORBA) Specifying own protocols integration in real world network? Non-performant

More information

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

How To Write An Xml Document In Java (Java) (Java.Com) (For Free) (Programming) (Web) (Permanent) (Powerpoint) (Networking) (Html) (Procedure) (Lang XML and Java The Extensible Markup Language 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

More information

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture Middleware and the Internet Example: Shopping Service Middleware today Designed for special purposes (e.g. DCOM) or with overloaded specification (e.g. CORBA) Specifying own protocols integration in real

More information

DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER. The purpose of this tutorial is to develop a java web service using a top-down approach.

DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER. The purpose of this tutorial is to develop a java web service using a top-down approach. DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER Purpose: The purpose of this tutorial is to develop a java web service using a top-down approach. Topics: This tutorial covers the following topics:

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

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

Web services with WebSphere Studio: Build and test

Web services with WebSphere Studio: Build and test Web services with WebSphere Studio: Build and test www7b.software.ibm.com/wsdd/ Table of Contents If you're viewing this document online, you can click any of the topics below to link directly to that

More information

XML Programming in Java

XML Programming in Java XML Programming in Java Leonidas Fegaras University of Texas at Arlington Web Databases and XML L6: XML Programming in Java 1 Java APIs for XML Processing DOM: a language-neutral interface for manipulating

More information

Freight Tracking Web Service Implementation Guide

Freight Tracking Web Service Implementation Guide www.peninsulatruck.com P.O. Box 587 (98071-0587) 1010 S 336 th, Suite 202 Federal Way, Washington 98003 Office (253) 929-2000 Fax (253) 929-2041 Toll Free (800) 942-9909 Freight Tracking Web Service Implementation

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

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

JDOM Overview. Application development with XML and Java. Application Development with XML and Java. JDOM Philosophy. JDOM and Sun

JDOM Overview. Application development with XML and Java. Application Development with XML and Java. JDOM Philosophy. JDOM and Sun JDOM Overview Application Development with XML and Java Lecture 7 XML Parsing JDOM JDOM: Java Package for easily reading and building XML documents. Created by two programmers: Brett McLaughlin and Jason

More information

A PERFORMANCE MODEL WEB SERVICE

A PERFORMANCE MODEL WEB SERVICE A PERFORMANCE MODEL WEB SERVICE Catalina M. Lladó, Ramon Puigjaner Universitat Illes Balears Departament de Matemàtiques I Informàtica Cra. de Valldemossa, Km 7.6 07071 Palma de Mallorca, Spain cllado@uib.es,

More information

VoIP LAB. 陳 懷 恩 博 士 助 理 教 授 兼 所 長 國 立 宜 蘭 大 學 資 訊 工 程 研 究 所 Email: wechen@niu.edu.tw TEL: 03-9357400 # 255

VoIP LAB. 陳 懷 恩 博 士 助 理 教 授 兼 所 長 國 立 宜 蘭 大 學 資 訊 工 程 研 究 所 Email: wechen@niu.edu.tw TEL: 03-9357400 # 255 SIP Traversal over NAT 陳 懷 恩 博 士 助 理 教 授 兼 所 長 國 立 宜 蘭 大 學 資 訊 工 程 研 究 所 Email: wechen@niu.edu.tw TEL: 03-9357400 # 255 Outline Introduction to SIP and NAT NAT Problem Definition NAT Solutions on NTP VoIP

More information

B.Sc (Honours) - Software Development

B.Sc (Honours) - Software Development Galway-Mayo Institute of Technology B.Sc (Honours) - Software Development E-Commerce Development Technologies II Lab Session Using the Java URLConnection Class The purpose of this lab session is to: (i)

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

File Transfer Service (Batch SOAP) User Guide. A Guide to Submitting batches through emedny FTS

File Transfer Service (Batch SOAP) User Guide. A Guide to Submitting batches through emedny FTS File Transfer Service (Batch SOAP) User Guide A Guide to Submitting batches through emedny FTS June 1, 2013 TABLE OF CONTENTS TABLE OF CONTENTS 1 Introduction... 4 2 Requirements... 5 2.1 Exchange mailboxes...

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

Web Services in Eclipse. Sistemi Informativi Aziendali A.A. 2012/2013

Web Services in Eclipse. Sistemi Informativi Aziendali A.A. 2012/2013 Web Services in Eclipse A.A. 2012/2013 Outline Apache Axis Web Service Clients Creating Web Services 2 Apache Axis Web Services in Eclipse WS basics (I) Web services are described by their WSDL file Starting

More information

AN OVERVIEW OF METHODS FOR MONITORING WEB SERVICES BASED ON THE QUALITY OF SERVICES

AN OVERVIEW OF METHODS FOR MONITORING WEB SERVICES BASED ON THE QUALITY OF SERVICES AN OVERVIEW OF METHODS FOR MONITORING WEB SERVICES BASED ON THE QUALITY OF SERVICES Sara Zirak 1, Naser Nematbakhsh 2, Kamran Zamanifar 3 1 Sara Zirak, Department of Computer, Najaf abad University, Isfahan,

More information

Markup Sprachen und semi-strukturierte Daten

Markup Sprachen und semi-strukturierte Daten Markup Sprachen und semi-strukturierte Daten http://www.pms.informatik.uni-muenchen.de/lehre/markupsemistrukt/02ss XSLT 1.0 Tutorial Dan Olteanu Dan.Olteanu@pms.informatik.uni-muenchen.de What means XSLT?

More information

EHR-IIS Interoperability Enhancement Project. Transport Layer Protocol Recommendation Formal Specification. Version 1.

EHR-IIS Interoperability Enhancement Project. Transport Layer Protocol Recommendation Formal Specification. Version 1. EHR-IIS Interoperability Enhancement Project Transport Layer Protocol Recommendation Formal Specification Version 1.1 June 4, 2014 Transport Layer Expert Panel EHR-IIS Interoperability Enhancement Project

More information

Joke Server example. with Java and Axis. Web services with Axis SOAP, WSDL, UDDI. Joke Metaservice Joke Server Joke Client.

Joke Server example. with Java and Axis. Web services with Axis SOAP, WSDL, UDDI. Joke Metaservice Joke Server Joke Client. Joke Server example SOAP and WSDL with Java and Axis Interactive web services, Course, Fall 2003 Henning Niss Joke Metaservice Joke Server Joke Client 3 meta service 2 IT University of Copenhagen client

More information

Leitungs-WS. Speziell : Trinkwasserversorgung. Gruppe 7: Stefan Buchholz, Martin Hoffmann, Conrad Kobsch, Jörg Winkler

Leitungs-WS. Speziell : Trinkwasserversorgung. Gruppe 7: Stefan Buchholz, Martin Hoffmann, Conrad Kobsch, Jörg Winkler Leitungs-WS Speziell : Trinkwasserversorgung Gruppe 7: Stefan Buchholz, Martin Hoffmann, Conrad Kobsch, Jörg Winkler Projektübersicht... 2 Allgemeines... 2 Funktionen... 2 Operationen für WebService...

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

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

HTTP - METHODS. Same as GET, but transfers the status line and header section only.

HTTP - METHODS. Same as GET, but transfers the status line and header section only. http://www.tutorialspoint.com/http/http_methods.htm HTTP - METHODS Copyright tutorialspoint.com The set of common methods for HTTP/1.1 is defined below and this set can be expanded based on requirements.

More information

Web Services Developer s Guide

Web Services Developer s Guide Web Services Developer s Guide VERSION 8 Borland JBuilder Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com Refer to the file deploy.html located in the redist

More information

GetLibraryUserOrderList

GetLibraryUserOrderList GetLibraryUserOrderList Webservice name: GetLibraryUserOrderList Adress: https://www.elib.se/webservices/getlibraryuserorderlist.asmx WSDL: https://www.elib.se/webservices/getlibraryuserorderlist.asmx?wsdl

More information

The BritNed Explicit Auction Management System. Kingdom Web Services Interfaces

The BritNed Explicit Auction Management System. Kingdom Web Services Interfaces The BritNed Explicit Auction Management System Kingdom Web Services Interfaces Version 5.1 November 2014 Contents 1. PREFACE... 6 1.1. Purpose of the Document... 6 1.2. Document Organization... 6 2. Web

More information

XML Capabilities in an iseries Environment

XML Capabilities in an iseries Environment C58 XML Capabilities in an iseries Environment Leonardo Llames IBM Advanced Technical Support Rochester, MN Las Vegas, NV June 17 21, 2002 IBM Corporation 2002 1 Agenda Define XML What is XML Its Origin

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

MDM Server Web Services Reference Guide (Internal)

MDM Server Web Services Reference Guide (Internal) D Server Web Services Reference Guide (Internal) Version 2.1 obile Device anager 2.1 obile Device Sync anager 1.2 obile Consumer Device anagement Template 1.2 obile Device Backup & Restore Template 1.1

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

Creating a Simple, Multithreaded Chat System with Java

Creating a Simple, Multithreaded Chat System with Java Creating a Simple, Multithreaded Chat System with Java Introduction by George Crawford III In this edition of Objective Viewpoint, you will learn how to develop a simple chat system. The program will demonstrate

More information

SEVERAL new approaches to network management

SEVERAL new approaches to network management Prototyping Web Services based Network Monitoring Thomas Drevers, Remco van de Meent, Aiko Pras Abstract Web services is one of the emerging approaches in network management. This paper describes the design

More information

Distributed Embedded Systems

Distributed Embedded Systems Distributed Embedded Systems Computer Architecture and Operating Systems 2 Content 1. Motivation 2. An Overview of Distributed Software Architecture Approaches 2.1 Pro & Contra Middleware 2.2 Message-Based

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

Web Services Development Guide: How to build EMBRACE compliant Web Services Version 2.0, 13 December 2006

Web Services Development Guide: How to build EMBRACE compliant Web Services Version 2.0, 13 December 2006 Web Services Development Guide: How to build EMBRACE compliant Web Services Version 2.0, 13 December 2006 Jan Christian Bryne, Jean Salzemann, Vincent Breton, Heinz Stockinger, Marco Pagni 1. OBJECTIVE...2

More information

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material,

More information

Web-Programmierung (WPR)

Web-Programmierung (WPR) Web-Programmierung (WPR) Vorlesung X. Web Services Teil 2 mailto:wpr@gruner.org 1 21 Web Service World Wide Web seit Anfang 1990er Jahren Mensch Web-Browser Applikation HTTP XML over HTTP Web-Server Geschäftslogik

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

Curtis Mack Curtis.Mack@lgan.com Looking Glass Analytics www.lgan.com

Curtis Mack Curtis.Mack@lgan.com Looking Glass Analytics www.lgan.com Curtis Mack Curtis.Mack@lgan.com Looking Glass Analytics www.lgan.com Weather Charting Graphing Geocoding Mapping Large Selection of other sites Your SAS Applications Infinite Possibilities on your own

More information

gsoap 2.7.0 User Guide

gsoap 2.7.0 User Guide gsoap 2.7.0 User Guide Robert van Engelen Genivia, Inc., engelen@genivia.com & engelen@acm.org October 15, 2004 Contents 1 Introduction 6 2 Notational Conventions 7 3 Differences Between gsoap Versions

More information

API Guide. SilkCentral Test Manager

API Guide. SilkCentral Test Manager API Guide SilkCentral Test Manager 2008 Borland Software Corporation 8303 N. Mopac Expressway, Suite A-300 Austin, TX 78759-8374 http://www.borland.com Borland Software Corporation may have patents and/or

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

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture Middleware and the Internet Example: Shopping Middleware today Designed for special purposes (e.g. DCOM) or with overloaded specification (e.g. CORBA) Specifying own protocols integration in real world

More information

Tutorial for Creating Resources in Java - Client

Tutorial for Creating Resources in Java - Client Tutorial for Creating Resources in Java - Client Overview Overview 1. Preparation 2. Creation of Eclipse Plug-ins 2.1 The flight plugin 2.2 The plugin fragment for unit tests 3. Create an integration test

More information

How To Design An Online Ticket Service (Ots)

How To Design An Online Ticket Service (Ots) Department of Electrical and Computer Engineering Schulich School of Engineering Project Report for SENG609.22 Agent-based Software Engineering (Fall 2005) Instructor: Dr. B. H. Far Agent-based Online

More information

Modern XML applications

Modern XML applications Modern XML applications XML in electronic data interchange, application integration and databases Patryk Czarnik Institute of Informatics University of Warsaw XML and Modern Techniques of Content Management

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

Web Server Logs Analyze Using the XML Technologies

Web Server Logs Analyze Using the XML Technologies Web Server Logs Analyze Using the XML Technologies Author: Tayeb L. E-mail: Tayeb.Lemlouma@inrialpes.fr July 2002. We introduce here an approach to write and analyze server logs using the XML technology.

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

B2B Appointment Booking Specification

B2B Appointment Booking Specification From Issue date 12 nd May 2008 Subject Broadband Connectivity Service and Full Access (T-)TAL Appointment Booking Status released Contract Version - WSG Version 10 Valid until Server location recalled

More information

Extending XSLT with Java and C#

Extending XSLT with Java and C# Extending XSLT with Java and C# The world is not perfect. If it were, all data you have to process would be in XML and the only transformation language you would have to learn would XSLT. Because the world

More information

Web Services for deeply embedded extra low-cost devices

Web Services for deeply embedded extra low-cost devices Web Services for deeply embedded extra low-cost devices D. Villa, F. J. Villanueva, F.Moya, F. Rincón, J. Barba, and J. C. López Dept. of Technology and Information Systems University of Castilla-La Mancha

More information

Creating your first Web service and Web application

Creating your first Web service and Web application Chapter 1 Creating your first Web service and Web application Chapter Contents Introducing Web service terminology Installing WebSphere Application Server and Rational Developer Setting up a Web project

More information

Developing a Web Service Based Application for Mobile Client

Developing a Web Service Based Application for Mobile Client Developing a Web Service Based Application for Mobile Client Ting Wu Pin Zheng Supervisor & Examiner Associate Prof. Vladimir Vlassov KTH/ICT/ECS Master of Science Thesis Stockholm, Sweden 2006 ICT/ECS-2006-138

More information

ADOBE INDESIGN CS6 ADOBE INDESIGN CS6 SERVER SOLUTIONS

ADOBE INDESIGN CS6 ADOBE INDESIGN CS6 SERVER SOLUTIONS ADOBE INDESIGN CS6 ADOBE INDESIGN CS6 SERVER SOLUTIONS 2012 Adobe Systems Incorporated. All rights reserved. Adobe InDesign CS6 Server Solutions If this guide is distributed with software that includes

More information

Introduction to Testing Webservices

Introduction to Testing Webservices Introduction to Testing Webservices Author: Vinod R Patil Abstract Internet revolutionized the way information/data is made available to general public or business partners. Web services complement this

More information

Threat Advisory: Atlassian Crowd (CVE 2013 3925)

Threat Advisory: Atlassian Crowd (CVE 2013 3925) Threat Advisory: Atlassian Crowd (CVE 2013 3925) Command Five Pty Ltd June 2013 ABSTRACT This advisory examines a critical vulnerability in Atlassian Crowd a software package marketed as a turnkey solution

More information

Building a Multi-Threaded Web Server

Building a Multi-Threaded Web Server Building a Multi-Threaded Web Server In this lab we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous

More information

Module 13 Implementing Java EE Web Services with JAX-WS

Module 13 Implementing Java EE Web Services with JAX-WS Module 13 Implementing Java EE Web Services with JAX-WS Objectives Describe endpoints supported by Java EE 5 Describe the requirements of the JAX-WS servlet endpoints Describe the requirements of JAX-WS

More information

CONTRACT MODEL IPONZ DESIGN SERVICE VERSION 2. Author: Foster Moore Date: 20 September 2011 Document Version: 1.7

CONTRACT MODEL IPONZ DESIGN SERVICE VERSION 2. Author: Foster Moore Date: 20 September 2011 Document Version: 1.7 CONTRACT MODEL IPONZ DESIGN SERVICE VERSION 2 Author: Foster Moore Date: 20 September 2011 Document Version: 1.7 Level 6, Durham House, 22 Durham Street West PO Box 106857, Auckland City Post Shop, Auckland

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

Cisco TelePresence Content Server

Cisco TelePresence Content Server Cisco TelePresence Content Server API Guide D1398008 August 2014 TABLE OF CONTENTS 1 INTRODUCTION... 5 1.1 Format of this document... 5 1.2 Variable usage... 6 1.3 Warnings... 6 2 SECURITY... 7 2.1 Security

More information

T320 E-business technologies: foundations and practice

T320 E-business technologies: foundations and practice T320 E-business technologies: foundations and practice Block 3 Part 1 Activity 5: Implementing a simple web service Prepared for the course team by Neil Simpkins Introduction 1 Components of a web service

More information

Developing Web Services with Apache CXF and Axis2

Developing Web Services with Apache CXF and Axis2 Developing Web Services with Apache CXF and Axis2 By Kent Ka Iok Tong Copyright 2005-2010 TipTec Development Publisher: TipTec Development Author's email: freemant2000@yahoo.com Book website: http://www.agileskills2.org

More information

Continuous Integration Part 2

Continuous Integration Part 2 1 Continuous Integration Part 2 This blog post is a follow up to my blog post Continuous Integration (CI), in which I described how to execute test cases in Code Tester (CT) in a CI environment. What I

More information

NetCom SMS Bedrift API - - - - - Technical Documentation

NetCom SMS Bedrift API - - - - - Technical Documentation - - - - - Version 1.2 December 2008 TABLE OF CONTENTS 1 INTRODUCTION... 3 1.1 SCOPE... 3 1.2 REVISION HISTORY... 3 2 SOLUTION OVERVIEW... 4 3 LIMITATIONS... 5 3.1 NUMBER OF RECIPIENTS... 5 3.2 ORIGINATING

More information

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture #3 2008 3 Apache.

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture #3 2008 3 Apache. JSP, and JSP, and JSP, and 1 2 Lecture #3 2008 3 JSP, and JSP, and Markup & presentation (HTML, XHTML, CSS etc) Data storage & access (JDBC, XML etc) Network & application protocols (, etc) Programming

More information

All of the material is copyrighted.

All of the material is copyrighted. Tutorial at VLDB 2001 (Rome, Italy, September 11-14, 2001) Managing Business Processes Via Workflow Technology IBM Distinguished Engineer Member, IBM Academy Of Technology IBM Software Group Schoenaicherstr.

More information

Visualize Your Cloud Data Using the Graph Template Language

Visualize Your Cloud Data Using the Graph Template Language ABSTRACT Paper 285-2011 Visualize Your Cloud Data Using the Graph Template Language Krishnan Raghupathi, SAS R&D, Pune, Maharashtra, India As the adoption of cloud computing by enterprise companies picks

More information

Software agents. Web services. and. F. Dignum Utrecht University

Software agents. Web services. and. F. Dignum Utrecht University Web services and Software agents F. Dignum Utrecht University Contents What are Web Services? Standards Problems with Web Services Software Agents Conclusions Today s Web Web Services: Killer Application?

More information

WEB SERVICES VULNERABILITIES

WEB SERVICES VULNERABILITIES WEB SERVICES VULNERABILITIES A white paper outlining the application-level threats to web services Prepared By: Date: February 15, 2007 Nishchal Bhalla Sahba Kazerooni Abstract Security has become the

More information

WEB SERVICES. Definition: Web service is a programmable application component that s accessible through standard Web protocols.

WEB SERVICES. Definition: Web service is a programmable application component that s accessible through standard Web protocols. WEB SERVICES Definition: Web service is a programmable application component that s accessible through standard Web protocols. Introduction to Web Services: Web services are next generation e-business

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

AXL Troubleshooting. Overview. Architecture

AXL Troubleshooting. Overview. Architecture AXL Troubleshooting This chapter contains the following topics: Overview, page 35 Architecture, page 35 Postinstallation Checklist, page 36 Troubleshooting Tools, page 39 Error Codes, page 43 Overview

More information

Learning Outcomes. Networking. Sockets. TCP/IP Networks. Hostnames and DNS TCP/IP

Learning Outcomes. Networking. Sockets. TCP/IP Networks. Hostnames and DNS TCP/IP CP4044 Lecture 7 1 Networking Learning Outcomes To understand basic network terminology To be able to communicate using Telnet To be aware of some common network services To be able to implement client

More information

Email API Document. 2012 Webaroo Technology India Pvt. Ltd.

Email API Document. 2012 Webaroo Technology India Pvt. Ltd. Email API Document 2012 Webaroo Technology India Pvt. Ltd. All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying,

More information