[ 
https://issues.apache.org/jira/browse/CXF-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659242#action_12659242
 ] 

bastien j. commented on CXF-1861:
---------------------------------

Hello,

I had this problem too. 
I resolved it into changing my tomcat version. Indeed, I have the problem with 
tomcat 5.5.23 but it works with tomcat 5.5.27 or 6.0.18.

Regards,
Bastien

> 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.

Reply via email to