[SWS-851] AxiomUtils.toEnvelope(Document) cannot specify XMLInputFactory properties Created: 28/Oct/13  Updated: 20/Mar/14  Resolved: 27/Jan/14

Status: Resolved
Project: Spring Web Services
Component/s: XML
Affects Version/s: None
Fix Version/s: 2.2.RC1

Type: Improvement Priority: Major
Reporter: Richard Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


A customer of us likes to send CDATA through soap message.
We're using Spring WS in combination of Axiom.

Within the AxiomMessage the method org.springframework.ws.soap.axiom.support.AxiomUtils.toEnvelope(Document) is called. Within the AxiomUtils a new instance of the XMLInputFactory is created.

It would be nice if it's possible to define the property "report-cdata-event" on this XMLInputFactory. For instance by using the StAXUtils to create the XMLInputFactory

Generated at Wed Jul 17 14:56:09 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.