logo       

Server demands basic authentication, protocol is kXML-RPC - What to do?: msg#00019

java.enhydra.general

Subject: Server demands basic authentication, protocol is kXML-RPC - What to do?

Hello,

I hope this is not too much off topic...

I'm programming a MIDlet (a J2ME application for PDA's, etc.) which
interacts with a server using the kXML-RPC protocol.
The server demands basic authentication.
The XML-RPC API provides a "setBasicAuthentication" method, so you can write
this:

XmlRpcClient server = new XmlRpcClient(server_url);
server.setBasicAuthentication("user", "password");

Unfortunately, I can't do this with kXML-RPC because there's no such
"setBasicAuthentication" method.

Do you have any idea?

Thanks in advance,
Mark


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise