This content has been marked as final.
Show 3 replies
-
1. Re: Package name generated by wsprovide
zauberlehrling Mar 26, 2007 5:49 PM (in response to zauberlehrling)I've forgotten the code of beispiel_9.EjbEndpoint is very simple:
package beispiel_9; import javax.ejb.Stateless; import javax.jws.WebMethod; import javax.jws.WebService; @WebService @Stateless public class EjbEndpoint { @WebMethod public String sayHello(String name) { return "Hallo "+name+"!"; } }
-
2. Re: Package name generated by wsprovide
jason.greene Mar 28, 2007 3:46 PM (in response to zauberlehrling)The spec requires that all wrappers be generated in the jaxws sub package by default (to avoid name conflicts). You can however control their destination using the RequestWrapper and ResponseWrapper annotations
@RequestWrapper(classname="beispiel_9.Hello");
Keep in mind though that you do not need to use wsprovide to deploy on jbossws, we generate all of the wrapper classes dynamically at deploy time. You only need them if you want your deployment to be portable to other containers.
-Jason -
3. Re: Package name generated by wsprovide
zauberlehrling Mar 29, 2007 6:41 AM (in response to zauberlehrling)Oh, this helps! Thank you very much.