Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2010 Accenture All Rights Reserved. 1 Copyright © 2010 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.

Similar presentations


Presentation on theme: "Copyright © 2010 Accenture All Rights Reserved. 1 Copyright © 2010 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are."— Presentation transcript:

1 Copyright © 2010 Accenture All Rights Reserved. 1 Copyright © 2010 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are trademarks of Accenture. Implementing a Service Metadata Publisher

2 Copyright © 2010 Accenture All Rights Reserved. 2 Who are we? Morten Hougesen Accenture Denmark Health and Public Service Christian Uldall Pedersen Accenture Denmark Systems Integration & Technology Technology Architecture

3 Copyright © 2010 Accenture All Rights Reserved. 3 Accentures role in the Peppol project Technical lead in WP8 (until 1/12-09) Implemented metadata functionality –Service Metadata Locator management service & client –Service Metadata Publisher service & client Implementation of NemHandel (the national Danish infrastructure and forerunner for PEPPOL) –Open Source libraries –Open Source reference client –UDDI registries (Systinet and OpenUDDI) –Registration tools and sites

4 Copyright © 2010 Accenture All Rights Reserved. Reference implementation of a Service Metadata Publisher Implementing a Service Metadata Publisher

5 Copyright © 2010 Accenture All Rights Reserved. 5 Peppol What is a Service Metadata Publisher? Access-Point Service Metadata Publisher

6 Copyright © 2010 Accenture All Rights Reserved. 6 What is an Service Metadata Publisher? Cont.

7 Copyright © 2010 Accenture All Rights Reserved. 7 The Service Metadata Publisher BusDox specification Mandates a discovery interface towards senders. Web service based on REST. Specifies how to retrieve service metadata, not how to create, update, delete or manage this metadata. No specification of how to store underlying data. Does not state how to synchronize with SML.

8 Copyright © 2010 Accenture All Rights Reserved. 8 The Service Metadata Publisher REST interface The interface comprises two types of ressources. –Service Group: /{identifier scheme}::{id} –(Signed) Service Metadata: /{identifier scheme}::{id}/services/ {docType} The two ressources are retrieved using HTTP GET.

9 Copyright © 2010 Accenture All Rights Reserved. 9 The Service Metadata Publisher datamodel Service Group: Contains a list of references to the supported document types of the given participant identifier. Service Metadata: Holds the actual metadata information for a given participant identifier and document type combination.

10 Copyright © 2010 Accenture All Rights Reserved. 10 GET /busdox-actorid-upis%3A%3A0010%3A /services/busdox-docid- qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3AInvoice- 2%3A%3AInvoiceDisputeDisputeInvoice%23%23UBL-2.0 HTTP/1.1 User-Agent: Java/1.6.0_15 Host: B-e49b223851f6e97cbfce4f72c3402aac.busdox-actorid-upis.sml1.smloc.org Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive HTTP/ OK Server: Apache-Coyote/1.1 Content-Type: text/xml Content-Length: 4408 Date: Wed, 10 Feb :41:57 GMT Example of retrieving metadata

11 Copyright © 2010 Accenture All Rights Reserved. 11 The reference implementation Is implemented in Java using the JAX-RS specification. Currently makes use of Jersey for implementing JAX-RS. Implements the REST operations GET, PUT & DELETE for managing the service metadata. Security is obtained using SSL + Basic Authentication. Physical data is stored using an RDBMS (MySQL). Hibernate is used as an abstraction layer. Synchronization with SML is performed synchronously. A servlet filter revokes SML update, if SMP update failes.

12 Copyright © 2010 Accenture All Rights Reserved. 12 Implementation overview REST Web layer Request Hibernate data layer SML

13 Copyright © 2010 Accenture All Rights Reserved. 13 REST Web layer - Code public class public SignedServiceMetadataType String String documentTypeId) {... }

14 Copyright © 2010 Accenture All Rights Reserved. 14 Implementation challenges Keeping data in sync with the SML. Performance of the REST interface, when retrieving large amounts of data.

15 Copyright © 2010 Accenture All Rights Reserved. Integrating the discovery of endpoint information between Peppol and NemHandel Integrating an existing network with Peppol Implementing a Service Metadata Publisher

16 Copyright © 2010 Accenture All Rights Reserved. 16 The existing network: NemHandel A Danish infrastructure for sending business documents. Peer-to-Peer model with transport protocol based on SOAP and WS-* technologies. UDDI is used for discovering endpoint information. Clients are capable of using several UDDIs with different information.

17 Copyright © 2010 Accenture All Rights Reserved. 17 Objectives To make it possible for Peppol participants to discover endpoints located in the NemHandel infrastructure. To make it possible for NemHandel participants to discover endpoints located in Peppol. The actual transport of the documents will not be handled in this presentation.

18 Copyright © 2010 Accenture All Rights Reserved NemHandel user registeres participant identifier through a NemHandel UDDI registration interface. 2.Identifier is registered in NemHandel UDDI. 3.Identifier is registered in SML pointing to NemHandel SMP. Registering a NemHandel endpoint in Peppol Peppol NemHandel NemHandel Access-Point NemHandel SMP UD DI SML UDDI Interface NemHandel user

19 Copyright © 2010 Accenture All Rights Reserved Peppol user makes use of DNS to find NemHandel SMP. 2.NemHandel SMP looks up endpoint capabilities in NemHandel UDDI, and converts them to Peppol standards. 3.NemHandel SMP returns metadata pointing to NemHandel Access-Point. 4.Peppol user sends documents to NemHandel Access-Point. Sending documents from Peppol to NemHandel endpoints Peppol NemHandel NemHandel Access-Point NemHandel SMP UD DI SML Peppol user

20 Copyright © 2010 Accenture All Rights Reserved NemHandel user looks up identifier in NemHandel UDDI. It isnt found. 2.NemHandel user then looks up identifier in Peppol UDDI Adapter. 3.Peppol UDDI Adapter looks up identifier in the corresponding Peppol SMP. 4.Peppol UDDI Adapter converts endpoint information to NemHandel standards. 5.NemHandel user sends document to NemHandel Access-Point. Sending documents from NemHandel to Peppol endpoints Peppol NemHandel NemHandel Access-Point Peppol UDDI Adapter UD DI SML NemHandel user A Peppol SMP

21 Copyright © 2010 Accenture All Rights Reserved. 21 Implementation details NemHandel SMP is based on the SMP reference implementation. Peppol UDDI adapter has a SOAP interface created using the UDDI v3 inquiry WSDL. Uses the reference implementation of the SMP client library. NemHandel UDDI registration interface makes use of the reference implmentation of the SML management client library. Can be deployed on any servlet container. E.g. Tomcat. Will become open source.

22 Copyright © 2010 Accenture All Rights Reserved. 22 Questions?


Download ppt "Copyright © 2010 Accenture All Rights Reserved. 1 Copyright © 2010 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are."

Similar presentations


Ads by Google