Christian has fixed it in 2.3.2 (being voted for now), most likely the server is sending an HTTP error status, with no response body...
Cheers, Sergey On Wed, Jan 19, 2011 at 3:21 AM, cxfuser71 <kunt...@hotmail.com> wrote: > > Hello All, > I am using JBoss 6.0.GA release which comes with CXF webservice stack > (version 2.3.1). > I have a ws-client which resides in a jar under EAR/lib directory of JBoss > deployment. > I am trying to invoke a remote web service (ListProperties() api) and > getting following error. > The WSDL address is valid and I can access the WSDL using browser without > any problem. > > Can anyone please help me to investigate further? > > Thanks in advance, > > ======================================= > > 19:08:20,449 INFO > [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating > Service > {http://www.towersoft.com/schema/webservice/trim2/}Engine<http://www.towersoft.com/schema/webservice/trim2/%7DEngine>from > WSDL: > http://rclient114.cup.hp.com:80/trimws/trim.asmx?WSDL > 19:08:22,424 WARN [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor > for > { > http://www.towersoft.com/schema/webservice/trim2/}Engine#{http://www.towersoft.com/ > schema/webservice/trim2/}ListProperties<http://www.towersoft.com/schema/webservice/trim2/%7DEngine#%7Bhttp://www.towersoft.com/%0Aschema/webservice/trim2/%7DListProperties>has > thrown exception, unwinding now: > java.lang.RuntimeException: Can't find input stream in message > at > > org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:116) > [:2.3.1] > at > > org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:60) > [:2.3.1] > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) > [:2.3.1] > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755) > [:2.3.1] > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2330) > [:2.3.1] > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2192) > [:2.3.1] > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2036) > [:2.3.1] > at > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) > [:2.3.1] > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:696) > [:2.3.1] > at > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > [:2.3.1] > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) > [:2.3.1] > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516) > [:2.3.1] > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) > [:2.3.1] > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) > [:2.3.1] > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > [:2.3.1] > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) > [:2.3.1] > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Getting-RuntimeException-Can-t-find-input-stream-in-message-while-invoking-a-remote-web-service-with-tp3347211p3347211.html > Sent from the cxf-issues mailing list archive at Nabble.com. >