diff --git a/core/src/main/java/org/springframework/ws/soap/axiom/AxiomSoapMessageFactory.java b/core/src/main/java/org/springframework/ws/soap/axiom/AxiomSoapMessageFactory.java index 8960528d..f0937da3 100644 --- a/core/src/main/java/org/springframework/ws/soap/axiom/AxiomSoapMessageFactory.java +++ b/core/src/main/java/org/springframework/ws/soap/axiom/AxiomSoapMessageFactory.java @@ -78,7 +78,6 @@ import org.apache.commons.logging.LogFactory; * @see #setPayloadCaching(boolean) * @since 1.0.0 */ -@SuppressWarnings("Since15") public class AxiomSoapMessageFactory implements SoapMessageFactory, InitializingBean { private static final String CHARSET_PARAMETER = "charset"; @@ -89,7 +88,7 @@ public class AxiomSoapMessageFactory implements SoapMessageFactorytrue. @@ -324,6 +319,19 @@ public class AxiomSoapMessageFactory implements SoapMessageFactory + * Can be overridden in subclasses, adding further initialization of the factory. The resulting factory is cached, + * so this method will only be called once. + * + * @return the created factory + */ + protected XMLInputFactory createXmlInputFactory() { + return XMLInputFactory.newInstance(); + } + + public String toString() { StringBuilder builder = new StringBuilder("AxiomSoapMessageFactory["); if (soapFactory instanceof SOAP11Factory) {