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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046164#4046164

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046164
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to