- From: Laurent Henocque <laurent.henocque@gmail.com>
- Date: Fri, 26 May 2006 15:15:04 +0200
- To: SAWSDL WG <public-ws-semann@w3.org>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As a follow up to ACTION 07, I am proposing a simple example of what multiple annotation/multiple mapping/annotation contexts might look like. Please accept my apologies for naive errors. The change to http://www.w3.org/2002/ws/sawsdl/spec/SAWSDL.html#RunningExample occurs at the begininning (several mentions of "annotationContext" - one contribution thx to virtual Jacek ;-)) and I only added model references for the buyBook operation. Each model reference is linked to an annotation context, and accepts several distinct mappings. I hope this will help to understand my suggestions, and that is is close to something realistic. <?xml version="1.0" encoding="UTF-8"?> <wsdl:description targetNamespace="http://simple.example.org/bookseller#" xmlns:wsdl="http://www.w3.org/2006/01/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://simple.example.org/po#" xmlns:sawsdl="http://www.w3.org/2002/ws/sawsdl/spec/sawsdl#" > // >>>>>>>>>>>>>> Contex inserted here: <sawsdl:annotationContext id="sawsdlcxt:lh0.0.a" author="Laurent Henocque" version="0.0.alpha" date="06/05/26"> <sawsdl:annotationContext id="sawsdlcxt:jk1" author="Jacek Kopecky" version="0.1.b" date="06/05/28"> <wsdl:types> <xs:schema targetNamespace="http://simple.example.org/po#" elementFormDefault="qualified"> <xs:element name="BuyBookRequest"> <xs:complexType> <xs:all> <xs:element name="customerNo" type="xs:integer" /> <xs:element name="order"> <xs:complexType> <xs:sequence minOccurs="1" maxOccurs="unbounded"> <xs:element name="quantity" type="xs:integer" /> <xs:element name="ISBN" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:all> </xs:complexType> </xs:element> <xs:element name="BuyBookResponse" type="xs:boolean"/> </xs:schema> </wsdl:types> <wsdl:interface name="BookSeller"> <wsdl:operation name="buyBook" pattern="http://www.w3.org/2006/01/wsdl/in-out"> // >>>>>>>>>>>>>> annotations begin here <sawsdl:modelReference context="sawsdlcxt:lh0.0.a" ref="http://example.org/ontologies/purchaseorder#Order"> <sawsdl:schemaMapping="http://example.org/examples/buyBook2Order.xsl"> <sawsdl:schemaMapping="http://example.org/examples/buyBook2Order.rdf"> </sawsdl:modelReference <sawsdl:modelReference context="sawsdlcxt:jk1" ref="http://example.org/moreontologies/PO#Order"> <sawsdl:schemaMapping="http://example.org/examples/jk1.xquery"> <sawsdl:schemaMapping="http://example.org/examples/buyBook2Order.jkspecificmapping"> </sawsdl:modelReference> <wsdl:input element="BuyBookRequest"/> <wsdl:output element="BuyBookResponse"/> </wsdl:operation> </wsdl:interface> </wsdl:description> - -- ************************************************************************* Laurent Henocque Maître de Conférences Hdr tel: +33 6 83 88 20 01 Enseignant à l'Ecole Supérieure d'Ingénieurs de Luminy - Marseille http://www.esil.univ-mrs.fr Chercheur au Laboratoire des Sciences de l'Information et des Systèmes - Marseille http://www.lsis.org clé publique open pgp / open pgp public key : http://www.esil.univ-mrs.fr/~henocque/0x987E183.pub.asc ************************************************************************ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdv9YIF1tz5h+GDARAnvuAJ45vKbujWlmw12S8NF4iESwtDIt5gCfYmnF +yEFSzKGPJ0pbOCFWDSeUKw= =FbxL -----END PGP SIGNATURE-----
Received on Friday, 26 May 2006 13:15:49 UTC