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/03 14:14:35 UTC

[jira] Commented: (AXIS-1640) Implementation of setContent in AttachmentPart is wrong

     [ http://nagoya.apache.org/jira/browse/AXIS-1640?page=comments#action_54970 ]
     
Davanum Srinivas commented on AXIS-1640:
----------------------------------------

Chelliah,

Can you please come up with a patch? (you can find details on how to submit a patch on the wiki)

thanks,
dims

> Implementation of setContent in AttachmentPart is wrong
> -------------------------------------------------------
>
>          Key: AXIS-1640
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1640
>      Project: Axis
>         Type: Bug
>   Components: SAAJ
>     Versions: 1.2RC1
>     Reporter: Chelliah Thirunavukkarasu

>
> setContent does not set the contentType header in the MIME headers.
> When setContent is called with an InputStream or a StreamSource,
> the contentObject should not be set to the input parameter as the
> the input parameter (the InputStream or StreamSource) has been consumed
> by the ManagedMemoryDataSource object's constructor.

-- 
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