3 Replies Latest reply on Feb 12, 2008 10:33 AM by Omar Bouchouicha

    Is JAX-WS only usable with EJB 3 projects?

    Omar Bouchouicha Newbie

      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?