users@glassfish.java.net

Where to put wsdl files when deploying ear on glassfich V3

From: <glassfish_at_javadesktop.org>
Date: Thu, 21 Jan 2010 07:56:03 PST

hi,
I have a question about the right placement of the wsdl files in an EAR which I want to deploy on glassfish V3.
Before V3 I created a /META-INF/wsdl/ folder in my EJB module where I placed all my wsdl files.

When I deploy this on Glassfish V3 I get the following exception:


SCHWERWIEGEND: wsdl file ix_reportservice.wsdl does not exist for web service WorkflowReportService
SCHWERWIEGEND: Exception while deploying the app
java.lang.RuntimeException: wsdl file ix_reportservice.wsdl does not exist for web service WorkflowReportService

But when I move the /wsdl/ folder with my wsdl definitions into the WEB-INF/wsdl/ folder of a web module which I packaged together with my ejb module inside my ear the error message goes away.

Why is this behavior different between Glassfish V2 and Glassfish V3 ?
For my understanding the wsdl definitions should be part of the EJB module because the web services should work independent from any web module.
For example my web module did typical use a total different authentification (realm) / role-mapping as my EJB modul did.

Thanks for help.
[Message sent by forum member 'rsoika' (Ralph.Soika_at_imixs.com)]

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