You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2004/11/24 00:25:22 UTC

[jira] Resolved: (AXIS-1663) LocalSender does not deserialize response message

     [ http://nagoya.apache.org/jira/browse/AXIS-1663?page=history ]
     
Davanum Srinivas resolved AXIS-1663:
------------------------------------

    Resolution: Fixed

Thanks. Applied both patches.

-- dims

> LocalSender does not deserialize response message
> -------------------------------------------------
>
>          Key: AXIS-1663
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1663
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: test.diff
>
> When using the LocalSender, the response message is not passed through the deserializer and as a result, trying to call getValueAsType on some MessageElements results in an exception because there is no DeserializationContext associated with the element.  This is the piece of LocalSender.java in question.  Please note the comments, and the commented out line.
>     // copy back the response, and force its format to String in order to
>     // exercise the deserializers.
>     clientContext.setResponseMessage(serverContext.getResponseMessage());
>     //clientContext.getResponseMessage().getAsString();
> Replacing the commented line with this line solves the problem.
>     clientContext.getResponseMessage().getSOAPPartAsString();
> Was this functionality commented out for any particular reason?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira