Hello, first I want to thank the author of the library for the excellent
implementation of XMLRPC and for releasing it under MIT License.
So I'm starting using the API with XMLRPC web-services and have to say
that the FAQ is very well designed, I was able to bootstrap my XMLRPC
use with .NET in a matter of an hour.
Now that I'm seeking to use it with a Movable Type installation I've
encountered theses two issues:
I'm getting System.Net.WebException: 'The underlying connection was
closed: An unexpected error occurred on a receive.' on subsequents calls
on the server, I'm forced to delay my calls with 5 second interval, in
order to avoid this exception.
I've searched on this issue wich does not seems to be caused by the api
but either by the WebRequest class either by my Movable Type
installation, I found some advices about setting the KeepAlive of the
WebRequest to false, does anyone have allready encounter the same issue?
XmlRpcClientProtocol c = XmlRpcProxyGen.Create(typeof(IMyInterface));
System.Net.HttpWebRequest wr = (System.Net.HttpWebRequest)
wr.SendChunked = true; // this is needed to set KeepAlive to false
wr.KeepAlive = false;
c.TimeOut = ....
Does the snippet above ensure that the XMLRPC API will use my own
crafted WebRequest? (with KeepAlive set at false)
When getting values back from method calls on my instanciated client, my
accentuated data is squished, I've first searched on the XmlEncoding
property of my client (setting it to System.Text.Encoding.UTF8) but
without any luck, my accentuated characters are still squished.
Investigating further with TCPTRACE, I found that my accentuated
characters are *NOT* squished in the response content sent by the server.
Anyway to solve this issue?
Thanks for any help and sorry for my english.