[SWS-825] Binary data get inlined when using JAXB for marshaling MTOM-enabled Axiom SOAP messages Created: 19/Feb/13  Updated: 09/Apr/13  Resolved: 09/Apr/13

Status: Resolved
Project: Spring Web Services
Component/s: None
Affects Version/s: 1.5.10, 2.1.2
Fix Version/s: 2.1.3

Type: Bug Priority: Major
Reporter: Michal Jemala Assignee: Arjen Poutsma
Resolution: Deferred Votes: 0
Labels: axiom, inline, mtom, multipart, saaj, xop
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Java Source File AxiomJaxbMtomClient.java     Java Source File Driver.java     XML File applicationContext.xml     GZip Archive dumps.tar.gz    
Issue Links:
Depend
depends on SWS-826 Improving AXIOM support in Srping WS Resolved

 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.



 Comments   
Comment by Arjen Poutsma [ 09/Apr/13 ]

Unfortunately, this issue cannot be resolved at this moment, due to the way we use Axiom. However, there are plans to improve the Axiom support (SWS-826) and hopefully this issue can be resolved as part of that effort.

Generated at Wed Dec 13 14:49:52 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.