You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Chris Twiner (JIRA)" <ji...@apache.org> on 2009/09/28 21:11:16 UTC

[jira] Resolved: (MUSE-239) response name should come from the wsdl

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

Chris Twiner resolved MUSE-239.
-------------------------------

    Resolution: Fixed

Fixed the bug itself, in two files, added a host of others to test.  Kept Axis prefix "muse-op" in the fix.  The old code is still present, just not called.  2.3.0 will clean that out.


> response name should come from the wsdl
> ---------------------------------------
>
>                 Key: MUSE-239
>                 URL: https://issues.apache.org/jira/browse/MUSE-239
>             Project: Muse
>          Issue Type: Bug
>          Components: Core Engine - Routing and Serialization
>         Environment: Muse 2.2.0, Eclipse 3.2.1
>            Reporter: Vinh Nguyen
>            Assignee: Chris Twiner
>             Fix For: 2.2.1
>
>
> When generating the client proxies, wsdl2java properly reads the response names from the wsdl and stores them in the proxy metadata section.  But on the server, Muse actually creates the response name based on the request name, and doesn't look at the wsdl for the actual response name.
> I found this error when not using the "normal" naming convention like MyOperationRequest and MyOperationResponse.  Instead, I had it as SomeResponse, so the client threw an error because the server was returning a different response name than expected.
> The bug is in AbstractMessageHandler.createResponseName().  It takes the properties from the request QName, and then creates a new one with "Response" appended.
> Also, the method's javadoc says that "users can override this method to change the response name", but the method itself is private.  So to override, users must override the class constructor itself.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org