This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes The Web Services Description Language (WSDL) file could not be generated for the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "The Web Services Description Language (WSDL) file could not be generated for the" Watch "The Web Services Description Language (WSDL) file could not be generated for the" New topic
Author

The Web Services Description Language (WSDL) file could not be generated for the

Gorkal Raghavendra
Ranch Hand

Joined: May 21, 2008
Posts: 30
Hi,
While iam building my web service it says successfull, but when iam deploying it my WAS 7.0 it gives me below error message and service is not up in server.

Any suggestions is highly appriciated.Thanks.

[10/1/13 21:49:42:380 EDT] 0000003b WASWSDLGenera E WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the us.ny.state.ij.safeact.ppa.ws.service.IJPResponseService Web service implementation class because of the following error: java.lang.NoClassDefFoundError: AuditDelegateException
[10/1/13 21:49:42:380 EDT] 0000003b WSModuleDescr E WSWS7027E: JAX-WS Service Descriptions could not be correctly built because of the following error: javax.xml.ws.WebServiceException: WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the us.ny.state.ij.safeact.ppa.ws.service.IJPResponseService Web service implementation class because of the following error: java.lang.NoClassDefFoundError: AuditDelegateException
at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:230)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.generateWSDL(EndpointDescriptionImpl.java:1958)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:422)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:398)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:293)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:273)
at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescriptionFromDBCMap(DescriptionFactory.java:461)
at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.buildJAXWSServices(WSModuleDescriptorImpl.java:1009)
at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.getJAXWSServices(WSModuleDescriptorImpl.java:554)
at com.ibm.ws.websvcs.deploy.URLPatternHelper.getJAXWSWebServicesUrlPatterns(URLPatternHelper.java:122)
at com.ibm.ws.websvcs.deploy.URLPatternHelper.getWebServicesUrlPatterns(URLPatternHelper.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.ibm.ws.odc.cell.TreeBuilder.getWebServicesUrlPatterns(TreeBuilder.java:2757)
at com.ibm.ws.odc.cell.TreeBuilder.processWebModule(TreeBuilder.java:2343)
at com.ibm.ws.odc.cell.TreeBuilder.readApplication(TreeBuilder.java:1972)
at com.ibm.ws.odc.cell.TreeBuilder.readApplication(TreeBuilder.java:1824)
at com.ibm.ws.odc.cell.TreeBuilder.doConfigChangePostProcessing(TreeBuilder.java:3205)
at com.ibm.ws.odc.cell.TreeBuilder.handleConfigChange(TreeBuilder.java:3058)
at com.ibm.ws.odc.cell.TreeBuilder.configChanged(TreeBuilder.java:3002)
at com.ibm.ws.odc.cell.TreeBuilder$LocalEventListener.configChanged(TreeBuilder.java:5102)
at com.ibm.ws.management.component.ConfigChangeHandler$ConfigChangeEventDispatcher.run(ConfigChangeHandler.java:344)
at com.ibm.ws.management.component.ConfigChangeHandler.alarm(ConfigChangeHandler.java:158)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:133)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)
Caused by: java.lang.NoClassDefFoundError: AuditDelegateException
at java.lang.Class.getStaticMethodsImpl(Native Method)
at java.lang.Class.getMethods(Class.java:1023)
at com.sun.xml.internal.ws.model.RuntimeModeler.determineWebMethodUse(RuntimeModeler.java:327)
at com.sun.xml.internal.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:343)
at com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:240)
at com.sun.tools.internal.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:229)
at com.sun.tools.internal.ws.wscompile.WsgenTool.run(WsgenTool.java:112)
at com.sun.tools.internal.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:50)
at com.sun.tools.internal.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:96)
at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.wsgen(WASWSDLGenerator.java:563)
at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:207)
... 26 more
Caused by: java.lang.ClassNotFoundException: AuditDelegateException
at java.net.URLClassLoader.findClass(URLClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
... 37 more
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The Web Services Description Language (WSDL) file could not be generated for the
 
Similar Threads
Getting error: WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/api/cl ient/config/ClientC
faultCode=WSDL4JWrapper Solution
Axis2-Redploying faulty service
WSDLPostProcessingException