[jboss-user] [JBossWS] - Is JAX-WS only usable with EJB 3 projects?

Bouchwichman do-not-reply at jboss.com
Tue Feb 12 09:24:09 EST 2008


I followed the  how-to ( http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS ) to create a web service with jax-ws. When I use the "wsprovide" command to create the WSDL from my implementation class, it makes an error : 

... > wsprovide -w bsa.ws.EchoBean
  | Generating WSDL:
  | Error: Could not generate. (use --show-traces to see full traces)
  | Error: javax/ejb/Stateless
  | 

It is searching the @Stateless annotation. But i'm not in EJB3, so i can't use @Stateless before my class.

Is JAX-WS only usable with EJB 3 projects?
If not what should i do? Why wsprovide doesn't work?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128761



More information about the jboss-user mailing list