This content has been marked as final.
Show 1 reply
-
1. Re: Sample application to generate Webservice from stateful
formenti Jul 8, 2004 3:35 AM (in response to ah123)Some links:
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJB-example.shtml
http://www.jboss.org/developers/guides/jboss.net/xdoclet
http://www.tusc.com.au./tutorial/html/chap9.html
http://www.myj2ee.com/Members/Firedragon/jbossnet
take a look at the JBoss Wiki, maybe there too.
A quick tutorial if you use XDoclet:
1) use xdoclet-module-jboss-net.jar that is in JBOSS_HOME/client
2) put:<jbossnet webDeploymentName="YourServiceName" prefix=" YourServicePrefix" destdir="..\..\ws\META-INF" targetNameSpace="http://your.name.space/YourServiceName" />
after the task "jboss" in your ant file
3) put <@jboss-net.web-service urn="YourServiceName"> at class level
4) put <@jboss-net.web-method> before every method that you want to use as web service