I defined following in my composite

<component name="BComponent">
    <implementation.java
class="org.apache.tuscany.sca.vtest.wsbinding.nowsdl.soapversion.impl.BServiceImpl"/>
        <service name="BService">
            <interface.java
interface="org.apache.tuscany.sca.vtest.wsbinding.nowsdl.soapversion.BService"/>
            <binding.ws/>
        </service>
</component>

I used WSDLReader to read the generated WSDL, such as
Definition wsdl = wsdlReader.readWSDL(uri + "?wsdl");

then got the services by wsdl.getServices(). For each service, I got
qname by s.getQName().

It was returned
{http://soapversion.nowsdl.wsbinding.vtest.sca.tuscany.apache.org/}BServiceService

For old build, I got
{http://soapversion.nowsdl.wsbinding.vtest.sca.tuscany.apache.org/}BService

Which is the proper qname?

Hope the information may help to understand my question.

Thanks
Gilbert





On Mon, Jun 9, 2008 at 1:01 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was probably confused. When you say "service",  do you mean SCA service or
> the service element in the generated WSDL? My answer was for the later case.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Gilbert Kwan" <[EMAIL PROTECTED]>
> Sent: Monday, June 09, 2008 9:37 AM
> To: <[email protected]>
> Subject: Re: Why the QName of service be changed?
>
>> Are you talking about the WS Binding Spec v1.0 line 273?
>>    Base System URI for HTTP / Component Name / Service Name
>>
>> If yes,
>> {http://soapversion.nowsdl.wsbinding.vtest.sca.tuscany.apache.org/}BServiceService
>> still did not fit
>> If no, would you point me where the spec defines it?
>>
>> Thanks
>> Gilbert
>>
>>
>> On Mon, Jun 9, 2008 at 12:23 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:
>>>
>>> The trailing / is following the JAXWS java package to XML namespace
>>> mapping
>>> rule.
>>>
>>> Thanks,
>>> Raymond
>>> --------------------------------------------------
>>> From: "Gilbert Kwan" <[EMAIL PROTECTED]>
>>> Sent: Monday, June 09, 2008 9:06 AM
>>> To: <[email protected]>
>>> Subject: Why the QName of service be changed?
>>>
>>>> When I used 659139 build, my service qname was
>>>>
>>>> {http://soapversion.nowsdl.wsbinding.vtest.sca.tuscany.apache.org}BService
>>>> When I used recent build 665707, my service qname was changed to
>>>>
>>>>
>>>> {http://soapversion.nowsdl.wsbinding.vtest.sca.tuscany.apache.org/}BServiceService
>>>>
>>>> Why?
>>>>
>>>> Gilbert
>>>
>>>
>

Reply via email to