Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-930

NoSuchMethodError when using Axiom 1.2.14

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      The changes made for SWS-922 have resulted in Spring Web Services no longer working with Axiom 1.2.14. Specifically the move to using getSOAPMessage in place of the, deprecated in 1.2.15, getSoapMessage. IMO, it would be preferable to continue to use getSoapMessage and suppress the deprecation warning. This approach will make things compatible with Axiom 1.2.14 and 1.2.15.

        Activity

        awilkinson Andy Wilkinson created issue -
        Hide
        awilkinson Andy Wilkinson added a comment -

        The problem can be reproduced by building against the Spring IO Platform. For example:

        ./gradlew clean springIoCheck -PJDK8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home -PplatformVersion=2.0.0.RELEASE --continue
        

        You'll see numerous test failures in spring-ws-core, all with this underlying cause:

        java.lang.NoSuchMethodError: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPMessage()Lorg/apache/axiom/soap/SOAPMessage;
        	at org.springframework.ws.soap.axiom.AxiomSoapMessageFactory.createAxiomSoapMessage(AxiomSoapMessageFactory.java:274)

        Show
        awilkinson Andy Wilkinson added a comment - The problem can be reproduced by building against the Spring IO Platform. For example: ./gradlew clean springIoCheck -PJDK8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home -PplatformVersion=2.0.0.RELEASE --continue You'll see numerous test failures in spring-ws-core , all with this underlying cause: java.lang.NoSuchMethodError: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPMessage()Lorg/apache/axiom/soap/SOAPMessage; at org.springframework.ws.soap.axiom.AxiomSoapMessageFactory.createAxiomSoapMessage(AxiomSoapMessageFactory.java:274) …
        Hide
        mdiskin Mark Diskin added a comment -

        Also would make sense to current axiom 1.2.16 (not 15)

        Show
        mdiskin Mark Diskin added a comment - Also would make sense to current axiom 1.2.16 (not 15)
        gregturn Greg Turnquist made changes -
        Field Original Value New Value
        Assignee Greg Turnquist [ gregturn ]
        gregturn Greg Turnquist made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        gregturn Greg Turnquist made changes -
        Fix Version/s 2.2.5 [ 15451 ]
        gregturn Greg Turnquist made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Complete [ 8 ]
        gregturn Greg Turnquist made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        gregturn Greg Turnquist made changes -
        Resolution Complete [ 8 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        gregturn Greg Turnquist made changes -
        Fix Version/s 2.3.0 [ 14957 ]
        Fix Version/s 2.2.5 [ 15451 ]
        Hide
        gregturn Greg Turnquist added a comment -

        Changed release version.

        Show
        gregturn Greg Turnquist added a comment - Changed release version.
        gregturn Greg Turnquist made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Complete [ 8 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1h 14m 1 Greg Turnquist 18/Dec/15 5:27 PM
        In Progress In Progress Resolved Resolved
        49m 54s 1 Greg Turnquist 18/Dec/15 6:17 PM
        Resolved Resolved Closed Closed
        3s 1 Greg Turnquist 18/Dec/15 6:17 PM
        Closed Closed Reopened Reopened
        114d 22h 10m 1 Greg Turnquist 11/Apr/16 4:28 PM
        Reopened Reopened Closed Closed
        23s 1 Greg Turnquist 11/Apr/16 4:28 PM

          People

          • Assignee:
            gregturn Greg Turnquist
            Reporter:
            awilkinson Andy Wilkinson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: