1 / 20

Options for National Participation Options 3 and 4

Join us in Bangkok to explore XML, XSD, and Web Services for enhanced data interoperability. Learn metadata importance and management for better data integration.

orlandos
Download Presentation

Options for National Participation Options 3 and 4

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. Options forNational Participation Options 3 and 4 Workshop for Regional Advisors for Training and Sharing Experience Bangkok, 22-27 May 2006 Philippe Leblond Secretariat of the Convention on Biological Diversity

  2. Overview • 1. Information and metadata • 2. Levels of interoperability • Semantic Level (Common Formats and Controlled Vocabularies) • Representational Level (XML, XSD) • Technical Level (Web Services) • 3. Interoperability options 3 and 4 • XSD / XML • Web Services (WSDL, SOAP, HTTP) • 5. Conclusion and questions

  3. 1. Information and metadata • Why is metadata important?- Information is not indexable- Information is not shareable • What is metadata?- Information about information- Structured data about data Human readable document jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je e rerew rewrewrewre re je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je e rerew rewrewrewre re je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je e rerew rewrewrewre re je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je e rerew rewrewrewre re je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje Machine readable metadata Author = John SmithTitle = LMOsSubject = Biosafety

  4. 2. Levels of interoperability • SemanticCommon formatsCommon vocabularies • RepresentationalXML, XML Schemas (XSD) • TechnicalCommunication protocols WSDL, SOAP, HTTP Complexity 1. Management Center Semantic 2. Simple nBCH Semantic Represent. 3. BCH Crawler Semantic 4. BCH Web Service Semantic Represent. Technical

  5. Options 1 to 4Semantic Level – CF Mapping • Mapping to common formats Common format (events) Source format (meetings table) New values "Meeting" type "CBD/COP" body country title subject abstract description location date date / from duration + date / to

  6. Options 1 to 4Semantic Level – CV Mapping • Mapping to Controlled Vocabularies Country codes (ISO-3166) Afghanistan AF Åland Islands AX Albania AL Algeria DZ Regulatory functions Contained Use 235AEDE9-E8AE-4A4C-B220-37C851871A78 Transit 60174D1E-8B0C-4A6B-B0CD-DD84B8F16287

  7. InteroperabilityLevels & Options Questions ? • SemanticCommon formatsCommon vocabularies • RepresentationalXML, XML Schemas • TechnicalCommunication protocols WSDL, SOAP, HTTP Complexity 1. Management Center Semantic 2. Simple nBCH Semantic Represent. 3. BCH Crawler Semantic 4. BCH Web Service Semantic Represent. Technical

  8. Options 3 and 4Representational Level – XML • In order to be interoperable, each system needs to represent the information in the same way. • The de-facto standard to represent information is XML. XML is simple for both humans and computers to read.

  9. Options 3 and 4Representational Level – XML • Each document is individually encoded as an XML file Human readable document Machine readable metadata XML File jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je e rerew rewrewrewre re je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje <authority> <header> <id>A0001</id> <date>2006-05-22</id> </header> <country refid=“my” /> <title>Agriculture Dep.</title> <phone>555-555-1212</phone></authority> CountryMalaysia OrganizationAgriculture Dep. Phone555-555-1212 jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je e rerew rewrewrewre re je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje The format of the XML fileis defined by the corresponding XML Schema(e.g. authority.xsd) The list of fields is definedby the common format(e.g. Authority)

  10. Options 3 and 4Representational Level – XML • The structure of the XML corresponds to the common format. <authority> <header> A0001 <id> </id> <date> 2006-05-22 </date> </header> <country refid = "my" refid = my /> </title> <title> Agriculture Dep. <phone> </phone> 555-555-1212 <Element> <Attribute> </authority> Value

  11. Example file: authorityA0001.xml Options 3 and 4Representational Level – XML <?xml version="1.0" encoding="UTF-8"?> <authority> <header> <id>A0001</id> <date>2006-05-22</id> </header> <country refid="my" /> <title>Agriculture Dep.</title> <phone>555-555-1212</phone></authority> • XML looks like HTML • The structure of the XML corresponds to the common format. • The common format is defined using a XML Schema (XSD)

  12. Options 3 and 4Representational Level – XML Step 1 – Prepare XML Step 2 – Register XML Encode document in XML This step is common to bothoptions 3 and 4. Register XML documentin the Central Portal of the BCHusing either option 3 or 4 jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je e rerew rewrewrewre re je jeje. eeje jej jejeejej e jejowoe j39ejj ejjq ejj wjwjej jejowoe j39ejj ejjq ejj wjwjej ejjw jjweje. jfhej e jwje wjwj eje je jejjjjej je jeje. eeje jej Internet XML XML XML XML XML BCH Crawler (option 3) or BCH Web Service (option 4) BCH DB http://bch.biodiv.org

  13. Options 3 and 4Representational Level – XML • Review • In order to be interoperable systems need to represent the information the same way • XML represents the information • XML Schema describes the common format. XSD files are provided by the CBD Secretariat. They form basis for exchange between disparate systems

  14. Option 3Pull – BCH Crawler • Now that we have an XML file containing the information to register, lets continue with option 3.

  15. Option 3Pull – BCH Crawler Document Apache / IIS Web Server Internet XML /index.html /… /export/decision01.xml/export/decision02.xml/export/decision03.xml/export/decision04.xml … e.g. Law XML XML BCH Crawler Robot XML XML Steps 1. Prepare the XML file (e.g. Decision Under AIA) 2. Place the XML file the web server The BCH Crawler Robot will take care of the rest. It will download the file a register it into the BCH. XML XML XML XML BCH DB http://bch.biodiv.org

  16. What are Web Services? A family of specifications that layers on XML stack Formalizes description of messages based on schema elements Option 4Push – BCH Web Service WSDL SOAP Details of transmission over HTTP XML Schema Describes the structure XML Represents the information

  17. Option 4Push – BCH Web Service SOAP Message Internet SOAP Envelope e.g. Law XML HTTP/HTTPS XML Your WS/SOAP library will do that BCH WS Steps 1. Encode document in XML 2. Envelope the XML in a SOAP message 3. Send the SOAP message through HTTP/HTTPS XML XML XML XML BCH DB http://bch.biodiv.org

  18. Conclusion • No solution is better than others • The best option depends on • the needs • how much information you have and; • how often you need to update your information • the assets • existing databases • platform used (windows, unix, etc.) • actual and future resources • IT knowledge • financial resources • Making the right choice is primordial

  19. Questions? NOT FOR CIRCULATION This presentation is available for download at: http://bch.biodiv.org/presentations/bangkok/natopt2.ppt

  20. URLs of interest BCH Toolkit http://bch.biodiv.org/toolkit_homepage/home.html BCH Web Service http://bch.biodiv.org/service/1.1/service.asmx http://bch.biodiv.org/service/2.0/service.asmx http://bch.biodiv.org/service/3.0/service.asmx BCH Web Service 3.0 Documentation (preliminary) http://bch.biodiv.org/help/interoperability/webservice3/default.shtml BCH Discussion Forums http://bch.biodiv.org/forums/default.shtml

More Related