[ http://issues.apache.org/jira/browse/TUSCANY-454?page=all ]
ant elder closed TUSCANY-454.
-----------------------------
Resolution: Fixed
Samples not in M2
> WSDL file misloading running sca demo helloworldws
> --------------------------------------------------
>
> Key: TUSCANY-454
> URL: http://issues.apache.org/jira/browse/TUSCANY-454
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding
> Reporter: Jervis Liu
> Priority: Minor
> Attachments: helloworlde4xws.patch, helloworldjsclient.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]