Sorry for my english
I have an application that uses jax-ws and spring , it works fine with tomcat, but I have to deploy it on Websphere 7 .
WAS7 throws the following exception:
00000027 WSModuleDescr E WSWS7027E: JAX-WS service descriptions cannot be built correctly due to the following error: javax.xml.ws.WebServiceException: WSWS7054E: web services Language Description File (WSDL) could not be generated for Web Service Implementation Class com.foo.MyEndpoint due to the following error: java.lang.Exception: WSDL definition could not be generated for the implementation class: com.foo.MyEndpoint at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl (WASWSDLGenerator.java : 230)
my final classes are:
@WebService(endpointInterface = "com.foo.MyService", targetNamespace = "http://www.foo.com/xsd")
public class MyEndpoint implements MyService
{
...
}
and interface:
@WebService(portName = "MyPort", serviceName = "MyService",
targetNamespace = "http://www.foo.com/xsd")
public interface MyService
{
...
}
Any idea what might cause this problem? How to check what exactly is wrong here? The error message is too vague ...
source
share