I'm using the Cook Computing XMLRPC framework in C#. I'm calling a remote function that expects an int. I want to use an enumeration in the client code instead of just calling the function with the digits hard-coded in the function parameters.
The code compiles successfully, but during testing an XmlRpcUnsupportedTypeException is throw. The message states that my enumeration cannot be mapped to an XML-RPC type. The enum is as follows:
public enum Codes : int
{
Installed = 903,
}
I have a feeling there is something simple I am overlooking, but can't put my finger on it so I'm here shining my Bat signal into the clouds!