Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5674

MultipartFormDataFormatter does not format/serialize binary parts as per specification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • kernel
    • None

    Description

      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.

      Attachments

        1. AXIS2-5674.patch
          10 kB
          Detelin Hadzhiev

        Activity

          People

            Unassigned Unassigned
            d_hadzhiev Detelin Hadzhiev
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: