cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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:

client-servlet:
     [java] http://localhost:8080/helloworld/services/services/hello_world?wsdl
     [java] Invoking sayHi...
     [java] Exception in thread "main" javax.xml.ws.WebServiceException: org.apa
che.cxf.interceptor.Fault: Could not write from XMLStreamReader.
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
.java:134)
     [java]     at $Proxy28.sayHi(Unknown Source)
     [java]     at demo.hw.client.Client.main(Client.java:63)
     [java] Caused by: org.apache.cxf.interceptor.Fault: Could not write from XM
LStreamReader.
     [java]     at org.apache.cxf.binding.xml.interceptor.XMLMessageOutIntercept
or.handleMessage(XMLMessageOutInterceptor.java:87)
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseI
nterceptorChain.java:148)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:215
)
     [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.ja
va:73)
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
.java:122)
     [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.


Mime
View raw message