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


Reply via email to