[SWS-650] AxiomSoapMessageFactory does not provide way to set properties on XMLInputFactory Created: 02/Nov/10 Updated: 04/May/12 Resolved: 03/Nov/10
|Project:||Spring Web Services|
|Fix Version/s:||2.0 RC1|
|Reporter:||Matt Magoffin||Assignee:||Arjen Poutsma|
|Original Estimate:||Not Specified|
The AxiomSoapMessageFactory class instantiates an internally-only accessible XMLInputFactory in its constructor like this:
inputFactory = XMLInputFactory.newInstance();
I would like to be able to turn text coalescing off to be able to handle very large text element content (i.e. base-64 encoded binary data) but without turning off coalescing the JVM will quickly run out of memory.
A way to configure the XMLInputFactory properties, for example to be able to specify a Map<String, Object> configurable property to pass to
There are many useful properties that can be configured:
|Comment by Arjen Poutsma [ 03/Nov/10 ]|
I've added a createXmlInputFactory() method, which you can override in a subclass to customize the XMLInputFactory.
|Comment by Matt Magoffin [ 03/Nov/10 ]|
Thanks, Arjen, but I wonder why we need to subclass just to configure these properties? I think having a createXMLInputFactory() method is useful, of course, but to make it easier to use without needing to subclass could we have a configurable Map<String, Object> property that this class can use?
|Comment by Arjen Poutsma [ 04/May/12 ]|
Closing old issues