[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [sca-bindings] sca:endpointReference versus wsa:EndpointReferencefor WS Binding
I agree that if we were to use a wrapper (eg: <extensions>) for the <any> then it would be appropriate to reuse wsa:EndpointReference. -Anish -- On 3/16/2010 1:43 PM, Luciano Resende wrote: > This is interesting, as the overall schema still have UPA issues when > you try to extend bindings using a different namespace (e.g Tuscany > extensions to SCA Schema). I'll be proposing some shema changes to > address overall UPA issues, which will include removing the <xsd:any> > from Binding WS schema and this might allow us to go back to use > wsa:EndpointReference directly if the Binding TC wish to do so. > > - Luciano > ------------------------------------------------------------------------ > *Luciano Resende* > Open Source SOA - _Apache Tuscany_ <http://incubator.apache.org/tuscany/> > 4400 N 1st St, San Jose - CA > notes: _Luciano Resende/Westford/IBM_ <mailto:Luciano Resende/Westford/IBM> > internet IBM: _luciano_resende@us.ibm.com_ > <mailto:luciano_resende@us.ibm.com> > internet ASF: _lresende@apache.org_ <mailto:lresende@apache.org> > Personal blog @ developerWorks : _link_ > <http://www-03.ibm.com/developerworks/blogs/page/lresende> > Apache Tuscany blog: _link_ <http://apache-tuscany.blogspot.com/> > ------------------------------------------------------------------------ > Great things are not done by impulse but by a series of small things > brought together > - Vincent Van Gogh > > > > > > > From: Eric Johnson <eric@tibco.com> > To: Luciano Resende/Westford/IBM@Lotus > Cc: sca-bindings@lists.oasis-open.org > Date: 03/16/2010 01:31 PM > Subject: Re: [sca-bindings] sca:endpointReference versus > wsa:EndpointReference for WS Binding > ------------------------------------------------------------------------ > > > > Hi Luciano, > > As I recall we were forced into doing this to resolve a limitation with > XML Schema and the use of "xsd:any" leading to a "unique particle > attribution" error. > _ > __http://www.osoa.org/jira/browse/BINDINGS-49_ > > -Eric > > On 03/16/2010 12:19 PM, Luciano Resende wrote: > Is there a particular reason why the ws binding schema defines it's own > endpointReference element based on wsa:EndpointReferenceType without > extending it, instead of just referencing the wsa:EndpointReference > directly ? > > Here is the snipet from the ws binding xsd : > > <complexType name="WebServiceBinding"> > <complexContent> > <extension base="sca:Binding"> > <sequence> > <element name="endpointReference" type="wsa:EndpointReferenceType" > minOccurs="0" maxOccurs="unbounded"/> > <any namespace="##other" processContents="lax" > minOccurs="0" maxOccurs="unbounded"/> > </sequence> > <attribute name="wsdlElement" type="anyURI" use="optional"/> > <attribute ref="wsdli:wsdlLocation" use="optional"/> > </extension> > </complexContent> > </complexType> > > This requires composites to have the following when configuring the ws > binding. Note that although endpointReference is an element defined from > sca namespace, we still need to use the child elements based on the wsa > namespace. > > <binding.ws > wsdlElement="_http://helloworld#wsdl.binding(HelloWorldSoapBinding)_ > <http://helloworld#wsdl.binding%28HelloWorldSoapBinding%29>"> > <endpointReference> > <wsa:Address > xmlns:wsa="_http://www.w3.org/2005/08/addressing_">_http://localhost:8085/services/HelloWorldWebService1_</wsa:Address> > <endpointReference> > </binding.ws> > > [1] > _http://tools.oasis-open.org/version-control/svn/sca-assembly/SCA_XSDS/sca-binding-ws-1.1-cd04.xsd_ > [2] _http://www.w3.org/2006/03/addressing/ws-addr.xsd_ > > - Luciano > ------------------------------------------------------------------------ > *Luciano Resende* > Open Source SOA - _Apache Tuscany_ <http://incubator.apache.org/tuscany/> > 4400 N 1st St, San Jose - CA > notes: _Luciano Resende/Westford/IBM_ > <mailto:Luciano%20Resende/Westford/IBM> > internet IBM: _luciano_resende@us.ibm.com_ > <mailto:luciano_resende@us.ibm.com> > internet ASF: _lresende@apache.org_ <mailto:lresende@apache.org> > Personal blog @ developerWorks : _link_ > <http://www-03.ibm.com/developerworks/blogs/page/lresende> > Apache Tuscany blog: _link_ <http://apache-tuscany.blogspot.com/> > ------------------------------------------------------------------------ > Great things are not done by impulse but by a series of small things > brought together > - Vincent Van Gogh > > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]