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 "Per Thomas Jahr (JIRA)" <ax...@ws.apache.org> on 2005/01/04 13:39:22 UTC

[jira] Created: (AXIS-1747) Two fixes for MultipartRelatedInputStream - GLUE attachment interop.

Two fixes for MultipartRelatedInputStream - GLUE attachment interop.
--------------------------------------------------------------------

         Key: AXIS-1747
         URL: http://issues.apache.org/jira/browse/AXIS-1747
     Project: Axis
        Type: Improvement
    Versions: current (nightly)    
    Reporter: Per Thomas Jahr
 Attachments: multipart_diff.txt

The patch in the attachment fixes two interoperability issues with GLUE 4.0.1 and attachments.

1. When GLUE sends an attachment to Axis the MIME header contains a type parameter that does not follow the standard (some RFC). The problem is missing quotes around the value for the type parameter (like this: Multipart/Related; boundary=MIME_boundary1103621748093; type=text/xml; start="<http://www.someone.com/rootpart.xml>" - it should be type="text/xml").

The fix just appends quotes if they are missing.

2. When Axis receives an attachment from GLUE it can't find the rootpart. The fix is to take the first part as the rootpart if there is no ContentId.



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


[jira] Updated: (AXIS-1747) Two fixes for MultipartRelatedInputStream - GLUE attachment interop.

Posted by "Per Thomas Jahr (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1747?page=history ]

Per Thomas Jahr updated AXIS-1747:
----------------------------------

    Attachment: multipart_diff.txt

cvs diff -u

> Two fixes for MultipartRelatedInputStream - GLUE attachment interop.
> --------------------------------------------------------------------
>
>          Key: AXIS-1747
>          URL: http://issues.apache.org/jira/browse/AXIS-1747
>      Project: Axis
>         Type: Improvement
>     Versions: current (nightly)
>     Reporter: Per Thomas Jahr
>  Attachments: multipart_diff.txt
>
> The patch in the attachment fixes two interoperability issues with GLUE 4.0.1 and attachments.
> 1. When GLUE sends an attachment to Axis the MIME header contains a type parameter that does not follow the standard (some RFC). The problem is missing quotes around the value for the type parameter (like this: Multipart/Related; boundary=MIME_boundary1103621748093; type=text/xml; start="<http://www.someone.com/rootpart.xml>" - it should be type="text/xml").
> The fix just appends quotes if they are missing.
> 2. When Axis receives an attachment from GLUE it can't find the rootpart. The fix is to take the first part as the rootpart if there is no ContentId.

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