Posted by rsoika
on January 21, 2010 at 7:56 AM PST
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.