users@glassfish.java.net

Re: JAXRPC ClassCastException when deploing as EAR (but works for WAR

From: <glassfish_at_javadesktop.org>
Date: Tue, 06 Nov 2007 23:22:50 PST

Hi,

web service classes are packaged within WAR archive in classes directory. I have following directory structure:

application.ear
.. some-web-app.war
.. my-web-app.war
.... - WEB-INF/classes/sample: contains HelloServiceImpl.class and sample.HelloServiceSEI
.... - WEB-INF/webservices.xml: web services definitions
.... - WEB-INF/wsdl: wsdl files and mapping files
.... - WEB-INF/sun-web.xml with delegate="false"

Are you suggesting to place web service classes inside standalone JAR directly inside EAR?
[Message sent by forum member 'galet' (galet)]

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