1 Reply Latest reply on May 17, 2007 8:36 AM by Charlie

    problem with consuming WS using jbossws-1.2.1.GA

    Charlie Newbie

      I use wsImport to generate all the stubs of a WS that I would like to consum. But running this in a Junit test is giveing me some wired error:

      java.lang.NoSuchMethodError: javax.jws.WebMethod.exclude()Z
       at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.processWebMethods(JAXWSMetaDataBuilder.java:825)
       at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:278)
       at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:274)
       at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:200)
       at javax.xml.ws.Service.getPort(Service.java:116)
      
      


      Any ideas?

      Thanks
      Charlie