cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <>
Subject [jira] Created: (CXF-581) helloworld_xml_bare servlet demo failed
Date Mon, 23 Apr 2007 05:51:15 GMT
helloworld_xml_bare servlet demo failed

                 Key: CXF-581
             Project: CXF
          Issue Type: Sub-task
            Reporter: maomaode

Platform: Win_Vista
JDK 1.5_10
TOMCAT 5.5.20

How to reproduce:
1. ant war
2. ant deploy  -Dtomcat=true
3. change the url to ${base.url}/helloworld/services/services/hello_world?wsdl in buld.xml
4. test the url in browser "http://localhost:8080/helloworld/services/services/hello_world?wsdl",
works fine 
5. ant client-servlet -Dbase.url=http://localhost:8080
Got the exception in command line:

     [java] http://localhost:8080/helloworld/services/services/hello_world?wsdl
     [java] Invoking sayHi...
     [java] Exception in thread "main" org.apa
che.cxf.interceptor.Fault: Could not write from XMLStreamReader.
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
     [java]     at $Proxy28.sayHi(Unknown Source)
     [java]     at demo.hw.client.Client.main(
     [java] Caused by: org.apache.cxf.interceptor.Fault: Could not write from XM
     [java]     at org.apache.cxf.binding.xml.interceptor.XMLMessageOutIntercept
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseI
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(
     [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.ja
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
     [java]     ... 2 more
     [java] Java Result: 1

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

View raw message