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 "Chelliah Thirunavukkarasu (JIRA)" <ax...@ws.apache.org> on 2004/11/03 22:44:35 UTC

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

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

Chelliah Thirunavukkarasu updated AXIS-1640:
--------------------------------------------

    Attachment: attachment.txt

The attached file contains the patch to fix the problem.

> 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
>  Attachments: attachment.txt
>
> 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