cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cxfuser71 <kunt...@hotmail.com>
Subject Re: Getting "RuntimeException: Can't find input stream in message" while invoking a remote web service (with JBoss AS 6.0 GA)
Date Thu, 20 Jan 2011 00:49:55 GMT

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.

Mime
View raw message