Andreas Veithen created AXIOM-444:
-------------------------------------
Summary: Incompatibility between Axiom 1.2.14 and Spring-WS 2.1.2
Key: AXIOM-444
URL: https://issues.apache.org/jira/browse/AXIOM-444
Project: Axiom
Issue Type: Bug
Components: API
Affects Versions: 1.2.14
Reporter: Andreas Veithen
Assignee: Andreas Veithen
Fix For: 1.2.15
When using the latest Spring-WS release (2.1.2; which was built for Axiom
1.2.13) with Axiom 1.2.14, the following exception may occur:
java.lang.NoSuchMethodError:
org.apache.axiom.soap.SOAPFactory.createSOAPMessage(Lorg/apache/axiom/om/OMXMLParserWrapper;)Lorg/apache/axiom/soap/SOAPMessage;
at
org.springframework.ws.soap.axiom.AxiomSoapMessage.<init>(AxiomSoapMessage.java:99)
at
org.springframework.ws.soap.axiom.AxiomSoapMessageFactory.createWebServiceMessage(AxiomSoapMessageFactory.java:189)
SOAPFactory#createSOAPMessage(OMXMLParserWrapper) was an internal method
expected to be called only by the builder and it no longer exists in Axiom
1.2.14. Spring-WS actually always passes null to that method and it should
therefore use SOAPFactory#createSOAPMessage().
While waiting for this to be fixed in Spring-WS, the workaround is to
reintroduce SOAPFactory#createSOAPMessage(OMXMLParserWrapper) as a deprecated
method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]