You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jervis Liu (JIRA)" <tu...@ws.apache.org> on 2006/06/19 04:32:30 UTC

[jira] Updated: (TUSCANY-454) WSDL file misloading running sca demo helloworldws

     [ http://issues.apache.org/jira/browse/TUSCANY-454?page=all ]

Jervis Liu updated TUSCANY-454:
-------------------------------

    Attachment: helloworlde4xws.patch

> WSDL file misloading running sca demo helloworldws
> --------------------------------------------------
>
>          Key: TUSCANY-454
>          URL: http://issues.apache.org/jira/browse/TUSCANY-454
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding
>     Reporter: Jervis Liu
>     Priority: Minor
>  Attachments: helloworlde4xws.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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org