Skip to content

Binary data get inlined when using JAXB for marshaling MTOM-enabled Axiom SOAP messages [SWS-825] #793

Closed
@gregturn

Description

@gregturn

Michal Jemala opened SWS-825 and commented

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.


Affects: 1.5.10, 2.1.2

Attachments:

Issue Links:

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently applytype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions