Hi, I have created JIRA 454  http://issues.apache.org/jira/browse/TUSCANY-454 
for this issue. I think I probably know what is going wrong, I will try to fix 
this issue. 

Thanks,
Jervis Liu

-----Original Message-----
From: Liu, Jervis 
Sent: Wednesday, June 07, 2006 1:49 PM
To: [email protected]
Subject: WSDL file misloading running sca demo helloworldws


Hi Guys, 

I am currently testing the interoperability between Tuscany and Celtix. When I 
changed Tuscany sca demo helloworldws's WSDL file to include in/out parameters, 
I found this change in WSDL is not recognized by Tuscany runtime at all. How to 
reproduce:

1. Change helloworld.wsdl output message getGreetingsResponse's part element 
from getGreetingsResponse to getGreetings
    <wsdl:message name="getGreetingsResponse">
        <wsdl:part element="tns:getGreetings" name="parameters"/>
    </wsdl:message>

2. Run helloworldws demo, send a request from a client

3. Check the response from helloworldws, it still refers to 
getGreetingsResponse element:

<helloworld:getGreetingsResponse xmlns:helloworld="http://helloworld";>
  <helloworld:getGreetingsReturn>Hello jervis</helloworld:getGreetingsReturn>
</helloworld:getGreetingsResponse>

Through debugging, I found the Binding object created for helloworldws demo is 
actually referring to helloworlde4xws demo's WSDL file other than it's own 
WSDL. Remove sample-helloworlde4xws and sample-helloworldjsclient directories 
from Tomcat, everything works.

Any ideas?

Cheers,
Jervis Liu



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to