Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 64199 invoked from network); 20 Jan 2011 00:50:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2011 00:50:21 -0000 Received: (qmail 81174 invoked by uid 500); 20 Jan 2011 00:50:21 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 81155 invoked by uid 500); 20 Jan 2011 00:50:20 -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 81147 invoked by uid 99); 20 Jan 2011 00:50:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 00:50:20 +0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of kuntalm@hotmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 00:50:15 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Pfiip-0004sq-4R for issues@cxf.apache.org; Wed, 19 Jan 2011 16:49:55 -0800 Date: Wed, 19 Jan 2011 16:49:55 -0800 (PST) From: cxfuser71 To: issues@cxf.apache.org Message-ID: <1295484595111-3348854.post@n5.nabble.com> In-Reply-To: References: <1295407270775-3347211.post@n5.nabble.com> Subject: Re: Getting "RuntimeException: Can't find input stream in message" while invoking a remote web service (with JBoss AS 6.0 GA) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Sergey, I found the Jira (CXF-3249) worked by Christian - but in my case I do send the credential. So I have added a comment in that Jira. For passing the credential I have following code in my WS-client. The sever side implementation (to expose the web service) has been done using .NET - so my question is do I need to keep any "cxf.xml" as part of my ws-client ? If yes, then what should be the ideal place to keep such "cxf.xml" file? My ws-client class is inside a jar and is deployed as part of EAR/lib in Jboss (i.e. ws-client is Not part of WAR module). =========================================================== class MyAuthenticator extends Authenticator { @Override public PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(login, password.toCharArray()); } } Authenticator.setDefault(new MyAuthenticator()); ============================================================= Thanks a lot, - Kuntal -- 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-tp3347211p3348854.html Sent from the cxf-issues mailing list archive at Nabble.com.