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 "Clive Brettingham-Moore (JIRA)" <ax...@ws.apache.org> on 2005/03/17 07:31:20 UTC

[jira] Updated: (AXIS-1884) setContent doesn't work for jaxrpc handlers (due to form optimisation)

     [ http://issues.apache.org/jira/browse/AXIS-1884?page=history ]

Clive Brettingham-Moore updated AXIS-1884:
------------------------------------------

    Attachment: SOAPPartPatch.txt

Questionable patch - exception propagation from setCurrentForm to setContent is an issue, has sidestepped by using RuntimeException, final version should propagate to setContent, but better than silent failure.

> setContent doesn't work for jaxrpc handlers (due to form optimisation)
> ----------------------------------------------------------------------
>
>          Key: AXIS-1884
>          URL: http://issues.apache.org/jira/browse/AXIS-1884
>      Project: Axis
>         Type: Bug
>   Components: SAAJ
>     Versions: 1.2RC3
>  Environment: All
>     Reporter: Clive Brettingham-Moore
>  Attachments: SOAPPartPatch.txt
>
> jaxrpc handlers silently fail to set message content (SOAPPart.setContent) for all Sources that are converted to input streams becuase formOptimisation is disabled for jax-rpc handlers, and the (buggy) logic of setCurrentForm supresses content setting for non string content (eg input stream derived from a DOMSource)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira