Cook Computing

Encoding in XML-RPC.NET

December 28, 2002 Written by Charles Cook

I'm adding the following to question 6.1 of the XML-RPC.NET FAQ:

When sending a request it is possible to specify the encoding by setting the XmlEncoding property of the proxy class. For example:


SumAndDiffProxy proxy = new SumAndDiffProxy();
proxy.XmlEncoding = new System.Text.ASCIIEncoding();
SumAndDiffValue ret = proxy.SumAndDifference(2, 3); 

Refer to the .NET Framework documentation for the encodings that are supported.