Even if your client app is a servlet, if you want to access web service you need to generate artifacts. As these artifacts will enable you to communicate with web service.
The ant task available with JBoss 4.0.4.GA is not working at my system. So, I've used the commandline utility for generation. // Command line generation, please set classpath first set path=%path%;%JBOSS_HOME%/bin wstools -cp bin -config resource/wstools-config.xml -dest src If you browse through the JBossWS userguide document you will find the respective sections with wstools-config.xml, but it also needs the wsdl for client generation. So, first I've packaged my sessions beans in .ejb3, deployed them on server & then walk through the browser to retreive the wsdl of my web service. Then using the above scripts, required artifacts would be generated including jaxrpc-mapping.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946702#3946702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946702 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
