- From: Laurent Henocque <laurent.henocque@gmail.com>
- Date: Mon, 29 May 2006 18:57:37 +0200
- To: Jacek Kopecky <jacek.kopecky@deri.org>, SAWSDL WG <public-ws-semann@w3.org>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The context is here to group together all related annotations. This has is related to the "consistency problem" raised by other participants. Cheers Laurent Jacek Kopecky wrote: > Hi Laurent, > > first, I renamed the subject to "issue 5" as actions don't actually > currently have useful IDs before I edit the minutes. > > I think I understand what the proposal does, I'm summarizing it for > tomorrow's agenda as > - introduce annotationContext with id+author+version+date > - put modelReference into one context > - multiple schemaMappings within modelReference > > But what I don't quite understand is why you introduce annotation > context. What would be the meaning of such a thing? What problem would > it solve? > > Such justifications are necessary if we are to add this new feature to > our spec. 8-) > > Best regards, > > Jacek > > On Fri, 2006-05-26 at 15:15 +0200, Laurent Henocque wrote: > 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 > ************************************************************************ >> - -- ************************************************************************* 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 iD8DBQFEeygBIF1tz5h+GDARAmtdAJ4/9WDOQLJwG8BJ96fAKKRivOACRQCeIa8/ sMXRfqq5WGmbfISOX3qfIIc= =11mW -----END PGP SIGNATURE-----
Received on Monday, 29 May 2006 16:58:18 UTC