cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "olivlui (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-1861) WSDLQueryHandler error
Date Mon, 20 Oct 2008 10:57:44 GMT

     [ https://issues.apache.org/jira/browse/CXF-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

olivlui closed CXF-1861.
------------------------

    Resolution: Won't Fix

> 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: olivlui
>            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