You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Willem Jiang <wi...@gmail.com> on 2011/01/19 05:14:26 UTC

Re: Getting "RuntimeException: Can't find input stream in message" while invoking a remote web service (with JBoss AS 6.0 GA)

Can you check if the server send the response back?
There are some tips[1] that you may take a look.
[1]http://cxf.apache.org/docs/debugging-and-logging.html

On 1/19/11 11:21 AM, cxfuser71 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 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 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]


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang