axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detelin Hadzhiev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5674) MultipartFormDataFormatter does not format/serialize binary parts as per specification
Date Thu, 09 Oct 2014 13:45:34 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165130#comment-14165130
] 

Detelin Hadzhiev commented on AXIS2-5674:
-----------------------------------------

I've provided a patch with test applicable for axis2 trunk (1.7.0)

> MultipartFormDataFormatter does not format/serialize binary parts as per specification
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5674
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5674
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.6.2
>            Reporter: Detelin Hadzhiev
>         Attachments: AXIS2-5674.patch
>
>
> org.apache.axis2.transport.http.MultipartFormDataFormatter should follows specification
when serializing binary nodes(parts).
> According to spec here:
> http://www.w3.org/TR/wsdl20-adjuncts/#_http_operation_multipart_encoding 
> Binary part must have Content-Type : application/octet-stream
> and Content-Disposition header must have the value form-data, and its name parameter
is the local name of the element.
> In addition content must not be encoded as base 64 format. It mus be raw binary content.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message