I need to build a webservice that can be invoked. This webservice sits on top of a weblogic server.
I followed the example as laid down in
http://e-docs.bea.com/wls/docs81/webserv/implement.html#1061185 Implementing a Web Service By Writing a
Java Class
With the example build scripts I created the file.ear which contained a file.war file.
The file.war file contained a file.jar which contains a class doSomething.class.
When I deployed and ran the service I get the following error :
java.lang.NoClassDefFoundError: path/ doSomething.
The file.jar is in the root of the file.war, should it be WEB-INF\classes.
Also do I need to provide a mapping to the file.jar in the web.xml in the file.war.
Running the example there was no C:\bea\weblogic81\samples\server\examples\src\examples\webservices\basic\javaclas I noticed that the file.jar was in the root of the file.war
Thanks for any help
Tony