[jboss-user] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto

dwin do-not-reply at jboss.com
Sun Jan 28 15:34:01 EST 2007


hey BK,

Since you're using JBoss 4.04, I am assuming you're using JBossWS 1.0.x (which is not JAX-WS 2.0 compliant but JAX-RPC 1.x).  In fact, there is no binary release of a JAX-WS JBossWS unless you're using JBoss 5.

I had to check out the code (via SVN) for JBoss 4.0.5 and compile it myself to get JBossWS 1.2 (JAX-WS) to work. 

Also, I am also assuming you want to do bottom to top (meaning java to WSDL).  If that is the case, then you don't need to use wsgen.

all you really need to do in your war file is just package a POJO with @Stateless, @WebService and annotate the specific methods, you want to release as web services, with @WebMethod.

This should work, you can check if your web service is deployed by going to http://<your server>:<http port number>/jbossws/services.  ie 

http://localhost:8080/jbossws/services

you should see your service on the list along with the pertaining WSDL.  
 



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

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



More information about the jboss-user mailing list