users@glassfish.java.net

Re: WSDL Not Found / wscompiler classpath does not see my objects

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Mar 2007 13:23:43 PST

When the dependent classes are not packaged in the same JAR as the EJB, then for them to be included in the classpath of wsgen/wscompile tools (during deployment time), you can use the Classpath manifest of the JAR/EAR's manifest file. By default all JARs EAR/lib directory are taken in classpath.

For reference, checkout these dev tests :

glassfish/appserv-tests/devtests/webservice/ejb_annotations/libdependent
glassfish/appserv-tests/devtests/webservice/ejb_annotations/libdependent-2

Hope this helps
[Message sent by forum member 'vijaysr' (vijaysr)]

http://forums.java.net/jive/thread.jspa?messageID=207181