Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-825

Binary data get inlined when using JAXB for marshaling MTOM-enabled Axiom SOAP messages

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Deferred
    • Affects Version/s: 1.5.10, 2.1.2
    • Fix Version/s: 2.1.3
    • Component/s: None

      Description

      When using Axiom and JAXB in conjunction binary data will be inlined instead of sent as a attachment within a MIME multipart message. This does not occur when using plain Axiom API to construct a message or SAAJ instead (see dumps.tar.gz attachments for HTTP communication trace).

      Use mtom samples distributed with Spring WS itself plus the attached modified/created files to replicate the issue.

      This may be related to the method org.springframework.ws.soap.axiom.AxiomSoapMessage.convertToXopPackage() always returning FALSE when asked for from the JAXB attachment marshaller.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arjen.poutsma Arjen Poutsma
                Reporter:
                mjemala Michal Jemala
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: