1 Reply Latest reply on May 25, 2011 5:53 AM by Alessio Soldano

    java.lang.NoSuchMethodError: javax.xml.ws.soap.Addressing.responses()

    PRAVEEN KONDAKA Newbie

      Hello Team,

       

      I am using JbossWS CXF with addressing using Alessio Soldano CXF WS-Addressing article. I am using maven to build my project and have wsprovide goal as follows

       

       

      <plugin>

          <groupId>org.jboss.ws.plugins</groupId>

          <artifactId>maven-jaxws-tools-plugin</artifactId>

          <version>1.0.0.GA</version>

          <configuration>

           <resourceDirectory>${project.build.directory}/classes/META-INF</resourceDirectory>

           <verbose>true</verbose>

           <endpointClass>com.fdd.webservice.ServiceImpl</endpointClass>

           <generateWsdl>true</generateWsdl>    

          </configuration>

          <executions>

           <execution>

            <goals>

              <goal>wsprovide</goal>

            </goals>

           </execution>

          </executions>

         </plugin>

       

       

      I am getting following error

       

       

      Execution default of goal org.jboss.ws.plugins:maven-jaxws-tools-plugin:1.0.0.GA:wsprovide failed:

      An API incompatibility was encountered while executing org.jboss.ws.plugins:maven-jaxws-tools-plugin:1.0.0.GA:wsprovide:

      java.lang.NoSuchMethodError: javax.xml.ws.soap.Addressing.responses()Ljavax/xml/ws/soap/AddressingFeature$Responses;

       

      am i missing any dependencies in my pom? if so please let me know what are those.

       

      Your help is greatly apprecieated.