Closed
Description
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:
- applicationContext.xml (1.68 kB)
- AxiomJaxbMtomClient.java (2.80 kB)
- Driver.java (1.56 kB)
- dumps.tar.gz (61.55 kB)
Issue Links:
- Improving AXIOM support in Srping WS [SWS-826] #794 Improving AXIOM support in Srping WS
("depends on")