Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 3902 invoked from network); 19 Jan 2011 09:45:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 09:45:40 -0000 Received: (qmail 70407 invoked by uid 500); 19 Jan 2011 09:45:40 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 70036 invoked by uid 500); 19 Jan 2011 09:45:36 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 70020 invoked by uid 99); 19 Jan 2011 09:45:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 09:45:35 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sberyozkin@gmail.com designates 209.85.214.41 as permitted sender) Received: from [209.85.214.41] (HELO mail-bw0-f41.google.com) (209.85.214.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 09:45:28 +0000 Received: by bwz16 with SMTP id 16so588455bwz.0 for ; Wed, 19 Jan 2011 01:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uelvfLVNfOXxppAXN0xGgCzqvwelMNoYODI0cHvCydg=; b=XVNRVlUp+YgFVXDSZtUNOv2QwBoJ9tZJaoEdp14z/2SUnI5aE4FjIgJvBLcsu6mxXP d9plxPIKEVDGSaDrOlmW8UTNFpd8f7aP8z2RehBEHbCUNTfMJKlMMJyPm2rRA5+R3sYE zmxxQPzH0vx3N9Yhb3R/i1jEnxooxM4JxGDyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WNptr2SErpnaEekcHUx74j/anJQElTQBMPVleGEveU+qP23i8fdVQM9cIPTVswdq/D HSa1dz3661f2W8JwOztoCNkzfLuunstCTm/N327lor8v8hWVrse3jeiyLFp2drGQ9bBU yafwvf3exmWsg4CgO4Y3g+fpmAa0hcnfOgaMU= MIME-Version: 1.0 Received: by 10.204.66.79 with SMTP id m15mr381324bki.124.1295430308033; Wed, 19 Jan 2011 01:45:08 -0800 (PST) Received: by 10.204.72.211 with HTTP; Wed, 19 Jan 2011 01:45:07 -0800 (PST) In-Reply-To: <1295407270775-3347211.post@n5.nabble.com> References: <1295407270775-3347211.post@n5.nabble.com> Date: Wed, 19 Jan 2011 09:45:07 +0000 Message-ID: Subject: Re: Getting "RuntimeException: Can't find input stream in message" while invoking a remote web service (with JBoss AS 6.0 GA) From: Sergey Beryozkin To: dev@cxf.apache.org Cc: issues@cxf.apache.org Content-Type: multipart/alternative; boundary=001636c5b2bd57749f049a2fdfc2 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5b2bd57749f049a2fdfc2 Content-Type: text/plain; charset=ISO-8859-1 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 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/}Enginefrom 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/}ListPropertieshas 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. > --001636c5b2bd57749f049a2fdfc2--