1 / 8

Doc/lit implementation experiences Network Measurements Working Group

Doc/lit implementation experiences Network Measurements Working Group. GGF12, Brussels, September 2004. Loukik Kudarimoti. Paul Mealor. Contents. Aims Setting up Ant and Tomcat Roadmap. Aims. Document-literal transport Examine limitations & advantages

morrie
Télécharger la présentation

Doc/lit implementation experiences Network Measurements Working Group

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Doc/lit implementation experiencesNetwork Measurements Working Group GGF12, Brussels, September 2004 Loukik Kudarimoti Paul Mealor Loukik Kudarimoti (Dante) Paul Mealor (University College London)

  2. Contents • Aims • Setting up Ant and Tomcat • Roadmap Loukik Kudarimoti (Dante) Paul Mealor (University College London)

  3. Aims • Document-literal transport • Examine limitations & advantages • Gain some experience for the group wrt implementation • Validation • At source and destination Loukik Kudarimoti (Dante) Paul Mealor (University College London)

  4. Setting up Axis, Tomcat • Write service class • Method must have the following signature w3c.dom.Document foo(w3c.dom.Document) • Receives and returns the SOAP body contents • Write WSDD • Specify message style • Optionally specify WSDL (though we didn’t) • Write a small client • Go • No stubs or beans in sight. All done with DOM trees. Loukik Kudarimoti (Dante) Paul Mealor (University College London)

  5. Validation • Using the Java SAX implementation • The DOM implementation can also validate • Requires W3C XML Schemas • Convert using Trang • Requires a single file • Combined RNC files into one to start with • Then converted to WXS • Function takes a DOM document • Service takes that, converts it to a bytestream, then SAX parses and validates it! Loukik Kudarimoti (Dante) Paul Mealor (University College London)

  6. Roadmap • Server document/literal • Client document/literal • Client generates valid NWMG request • Server validates the request • Server understands and processes or understands but rejects the request • Client validates the response • Client accepts the response or understands the error/exception • Server and client work with the desired WSDL • i.e. with appropriate typing: NMWG:Request instead of xsd:anyType • Server does something useful with the request • Client does something useful with the response • Extra messages other than request and response Loukik Kudarimoti (Dante) Paul Mealor (University College London)

  7. DEMO Loukik Kudarimoti (Dante) Paul Mealor (University College London)

  8. The End Questions m.j.leese@dl.ac.ukpdm@hep.ucl.ac.uk ? ? ? ? ? Loukik Kudarimoti (Dante) Paul Mealor (University College London)

More Related