cxf-issues mailing list archives

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

                 Key: CXF-582
             Project: CXF
          Issue Type: Sub-task
    Affects Versions: 2.0-RC
            Reporter: maomaode
             Fix For: 2.0-RC

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