You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <de...@tuscany.apache.org> on 2010/10/26 13:58:20 UTC

[jira] Resolved: (TUSCANY-3699) samples/helloworld-ws-sdo README instructions are wrong and produce incorrect results

     [ https://issues.apache.org/jira/browse/TUSCANY-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash resolved TUSCANY-3699.
---------------------------------

    Resolution: Fixed

Fixed under revision r1003115 in the 1.6.1 branch and revision r1027490 in the 1.x trunk.

> samples/helloworld-ws-sdo README instructions are wrong and produce incorrect results
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3699
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3699
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.6
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-1.6.1
>
>
> The helloworld-ws-sdo sample includes a server and a client.  These must be run together for the sample to work correctly.
> The README instructions don't mention the server that's part of the sample.  Instead, they tell the user to use the helloworld-ws-service sample as the server.  This causes problems because the WSDL for helloworld-ws-service isn't compatible with the WSDL for the client in helloworld-ws-sdo.  The helloworld-ws-service WSDL expects the person's name to be passesd as a string, and the helloworld-ws-sdo WSDL passes the name as a schema complex type.
> The sample runs despite this mismatch in the WSDLs but the output Isn't correct.  The person's name (David Haney) isn't unmarshalled by the server, so instead of returning "Hello David Haney" to the client, the server just returns "Hello".
> If the server in helloworld-ws-sdo is used, the person's name is unmarshalled successfully by the server and the correct string is returned to the client and displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.