Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-444

Incompatibility between Axiom 1.2.14 and Spring-WS 2.1.2

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.14
    • Fix Version/s: 1.2.15
    • Component/s: API
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              veithen Andreas Veithen
              Reporter:
              veithen Andreas Veithen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: