-
1. Re: Questions about the Wiki Page WSServerEJB
clairecostello Jun 30, 2005 4:52 AM (in response to bsheward)Hi Barry,
Basic structure of JAR is:
META-INF/MANIFEST.MF
META-INF/webservices.xml
META-INF/jboss.xml
META-INF/ejb-jar.xml
META-INF/jaxrpc-mapping.xml
META-INF/wsdl/servicesfilename.wsdl
Followed by all the packages and classes.
http://www.dcl.hpi.uni-potsdam.de/research/asg/ws4ejb/ has a diagram schematic showing this structure.
Also the stateless session bean, OrganizationSLSB is the implementation class for the service endpoint interface listed on the WIKI page. It contains the actual code for the method getContactInfo.
HTH, Claire. -
2. Re: Questions about the Wiki Page WSServerEJB
bsheward Jul 5, 2005 3:51 PM (in response to bsheward)Claire,
Thanks. I'm now able to call a really simple web service.
I think the problem was that I had a lot of these files at the EAR level, rather than the JAR level. Once I changed things to:
test.ear
test.ear/META-INF/MANIFEST.MF
test.ear/META-INF/application.xml
test.ear/test.jar
test.ear/test.jar/META-INF/MANIFEST.MF
test.ear/test.jar/META-INF/webservices.xml
test.ear/test.jar/META-INF/jboss.xml
test.ear/test.jar/META-INF/ejb-jar.xml
test.ear/test.jar/META-INF/jaxrpc-mapping.xml
test.ear/test.jar/META-INF/wsdl/servicesfilename.wsdl
things started working!
Thanks for your help,
Barry