cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Olivera (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1861) WSDLQueryHandler error
Date Mon, 13 Oct 2008 12:16:44 GMT
WSDLQueryHandler error
----------------------

                 Key: CXF-1861
                 URL: https://issues.apache.org/jira/browse/CXF-1861
             Project: CXF
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 2.0.8
            Reporter: Luis Olivera
            Priority: Minor


I'm trying to run hello world sample but when I request http://localhost/services/helloWorld?wsdl
I got the following error:

java.lang.NoSuchMethodError: org.w3c.dom.Document.setXmlStandalone(Z)V
	org.apache.cxf.transport.http.WSDLQueryHandler.updateDoc(WSDLQueryHandler.java:253)
	org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:201)
	org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:152)
	org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:174)
	org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:156)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

My web.xml is as follow:

  <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>

    <load-on-startup>2</load-on-startup> 
  </servlet>
  <servlet-mapping>
    <servlet-name>CXFServlet</servlet-name> 
    <url-pattern>/services/*</url-pattern> 
  </servlet-mapping>

and I got the following maven lib configuration:

    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-core</artifactId>
      <version>2.0.8</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-frontend-simple</artifactId>
      <version>2.0.8</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-frontend-jaxws</artifactId>
      <version>2.0.8</version>
    </dependency>
    <dependency>    
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-rt-transports-http</artifactId>
      <version>2.0.8</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-common-utilities</artifactId>
      <version>2.0.8</version>
    </dependency>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message