[jboss-user] [JBossWS] - problem with consuming WS using jbossws-1.2.1.GA

charboss do-not-reply at jboss.com
Wed May 16 10:29:13 EDT 2007


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



More information about the jboss-user mailing list