I use
- CXF 2.3 SNAPSHOT I got at 15 Sept 2010
- Tomcat 7.0.2 Beta

The code snippet is this:
@WebService
public interface PersonalContactManagementService extends
DomainGeneralOperation<Integer, PersonalContact> {

    @WebMethod
    @WSDLDocumentation("This method updates a personal contact.")
    public void update(PersonalContact domain);
........

The web service deployed with no issue, I could call them with no error. But
when I wanted to see the WSDL I get the following exception :

*exception*

javax.servlet.ServletException: Servlet execution threw an exception

*root cause*

java.lang.IncompatibleClassChangeError: Class
com.ibm.wsdl.OperationImpl does not implement the requested interface
javax.wsdl.WSDLElement
        
org.apache.cxf.wsdl11.ServiceWSDLBuilder.addDocumentation(ServiceWSDLBuilder.java:242)
        
org.apache.cxf.wsdl11.ServiceWSDLBuilder.buildPortTypeOperation(ServiceWSDLBuilder.java:526)
        
org.apache.cxf.wsdl11.ServiceWSDLBuilder.buildPortType(ServiceWSDLBuilder.java:473)
        
org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:188)
        
org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:151)
        
org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:155)
        
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:164)
        
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
        
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
        
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)

Please help

Thanks,
Reza

Reply via email to