[Mono-list] CookComputing.XmlRpc, Mono, & .NET 2.0
Adam Tauno Williams
awilliam at whitemice.org
Wed May 23 13:09:43 EDT 2007
I've been using this XML-RPC assembly [ http://www.xml-rpc.net/ ] with
Mono for a long time, but always under a .NET 1.1 profile.
Now I need to build my application as .NET 2.0 - everything still
compiles and the application starts... but authentication fails. It
always acts like I have provided no credentials.
I'm doing -
proxy = (IProxy)XmlRpcProxyGen.Create(typeof(Whitemice.ZOGI.IProxy));
client = (XmlRpcClientProtocol)proxy;
client.ProtocolVersion = HttpVersion.Version10;
client.PreAuthenticate = true;
client.Timeout = 1800000;
client.Credentials = new NetworkCredential(_username, _password);
client.Url = "http://" + _hostname + "/zidestore/so/" + _username + "/";
- just like under the .NET 1.1 profile. But getting an authentication
required exception when I make a request.
Anyone seen this, or tried CookComputing.XmlRpcV2.dll under Mono with
a .NET 2.0 proile?
More information about the Mono-list
mailing list