On Nov 15, 2007 10:49 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:

> The spec case is slightly different as the syntax is
> namespace#wsdl.xxx(...). We know the # before wsdl.xxx(...) is the
> delimiter.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Simon Laws" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, November 15, 2007 10:17 AM
> Subject: Re: Change the syntax for qname in
>
> META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor
>
>
> > On Nov 15, 2007 5:38 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:
> >
> >> Hi,
> >>
> >> The StAXArtifactProcessor extension point currently uses the
> >> "namespace#localPart" syntax for the qname attribute in the service
> >> registration file
> >>
> >>
> (META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor).
> >>
> >> I propose that we change the syntax to be "{namespace}localPart" for
> two
> >> reasons:
> >>
> >> 1) {namespace}localPart is the format produced by QName.toString()
> >> 2) # is valid character for namespace, using # as the delimiter could
> >> lead
> >> to conflict.
> >>
> >> If there is no objections, I will make the changes.
> >>
> >> Thanks,
> >> Raymond
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >> Hi Raymond
> >
> > Isn't there a problem then with wsdlElement="
> > http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)<http://helloworld#wsdl.port%28HelloWorldService/HelloWorldSoapPort%29>
> "?
> >
> > Simon
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> We do but that's not what the code is checking for. In
WebServiceBindingProcessor and WSDLInterfaceProcessor it looks for the first
index of "#" and then checks that wsdl.xxx follows it. Following your first
post we should  look for where "#wsdl.xxx" appears in the string and use
this as a delimiter in order to take account of the case you highlighted
where "#" appears on its own in the namespace.

Back to your original question. On the basis that #wsdl.xxx is actually the
delimiter in the WSDL cases then your proposal looks ok to me.

Simon

Reply via email to