dmay / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

XML-RPC.NET client communicating with XML-RPC.NET server #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've tried my XML-RPC.NET server communicating with Java clients and PHP
clients. Works great. However, calling (if this is important I am unsure)
from the same Web.config (different DLL) within Mono, I get a very
interesting exception (this is a ToString of it):

System.Net.WebException: Error getting response stream (ReadDone2):
ReceiveFailure ---> System.Exception: at
System.Net.WebConnection.HandleError(WebExceptionStatus st,
System.Exception e, System.String where) at
System.Net.WebConnection.ReadDone(IAsyncResult result) at
System.Net.Sockets.Socket+SocketAsyncResult.Complete() at
System.Net.Sockets.Socket+Worker.Receive() at
System.Net.WebConnection.HandleError (WebExceptionStatus st,
System.Exception e, System.String where) [0x00000] --- End of inner
exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse
(IAsyncResult asyncResult) [0x00000] at
System.Net.HttpWebRequest.GetResponse () [0x00000] at
CookComputing.XmlRpc.XmlRpcClientProtocol.GetWebResponse
(System.Net.WebRequest request) [0x00000]

Platform is Mono 2.4.2.3, XML-RPC.NET is 2.4.0. Since both the server and
the client are XML-RPC.NET in this case I'm a bit puzzled. Is there some
setting on the client end of XML-RPC.NET that might cause this? What I am
doing is:

var service = XmlRpcProxyGen.Create<IAuthService>();
service.Url = settings["AuthServerURL"];

return service.ValidateUser(settings["AuthUsername"],
settings["AuthPassword"], blah blah blah);

It all seems very canonical.

Original issue reported on code.google.com by xoc...@gmail.com on 2 Sep 2009 at 4:22

GoogleCodeExporter commented 9 years ago
I encountered the similar problem,
I launched XML-RPC.NET server via MONO (1.2.3) from Java application on WinXp, 
but 
seems the server cannot work at all. The XML-RPC.NET client cannot send/receive 
any 
message from it. The traffic capture shows there is no packet transmitted. 
However, 
if I start server via MONO from Windows command line, it works fine. Actually, 
I 
really need start the server from Java.

Could anybody give some idea? Thanks.

Original comment by zhuyaop...@gmail.com on 4 Dec 2009 at 3:11

GoogleCodeExporter commented 9 years ago
Mono not explicitly supported.

Original comment by ChasC...@gmail.com on 6 Mar 2011 at 10:21