|
Can't find wsdl error message when deploying a web service with JDeveloper |
|
Facts -
Java
|
|
Tuesday, 27 April 2010 19:04 |
|
This page is for Oracle JDeveloper 11.1.1.2.0 and its integrated Weblogic application server version 10.3.2.0.
When deploying a java webservice from JDeveloper to the integrated Weblogic application server I got the following error message:
[08:45:37 AM] [Deployer:149193]Operation 'deploy' on application '/myproject-main-context-root'
has failed on 'DefaultServer'
[08:45:37 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application
/myproject-main-context-root on DefaultServer.: .
[08:45:37 AM] Weblogic Server Exception: weblogic.application.ModuleException:
[08:45:37 AM] Caused by: weblogic.wsee.ws.WsException:
When processing WebService module 'myproject-main-context-root.war'.
Can't find wsdl /WEB-INF/wsdl/myService.wsdl
[08:45:37 AM] See server logs or server console for more details.
[08:45:37 AM] weblogic.application.ModuleException:
[08:45:37 AM] #### Deployment incomplete. ####
[08:45:37 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
The wsdl in the error message was different from the wsdl of the webservice I was trying to deploy.
Grepping the code on occurences of the wsdl file revealed that some compiled classes contained a reference to the wsdl. Before I had removed the source code of this web service from the project. Deleting the compiled classes of this obsolete web service from the file system solved this deployment problem.
|