Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-957

base64-encoded binary attachment parts are not decoded correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • jbossws-1.0.0
    • jbossws-native
    • None

    Description

      I'm adding swa/mtom support to soapui and noticed thaat when sending attachment parts containing binary data, these may be encoded by javamail/jaf using base64 encoding, ie;

      ------=MIME-boundary
      Content-Type: image/gif
      Content-Transfer-Encoding: base64
      etc..

      which seems to be allowed in the attachment profile (R2934).

      Internally in jbossws, the SwapableMemoryDataSource created in the MultipartRelatedDecoder.decodeMultipartRelatedMessage method does not seem to handle this but returns the base64 data is if it we're unencoded..

      maybe I've got something wrong here?! (if I force javamail to use "binary" encoding it works fine)

      regards!

      /Ole

      Attachments

        Activity

          People

            rhn-support-hbraun Heiko Braun
            omatzura Ole Matzura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: