I'm currently using the Marquee XmlRpc library on the server side (running on java) and Eric Kidd's XmlRpc library for the (C++) clients. I'm evaluating XmlRpc++ and are impressed of the functionality.
The server side defines lots of methods with different sets of parameters and here's the problem:
Say the second parameter of a method is defined as an array (vector in java) and there is currently no element for this array at the client side, how can I have XmlRpc++ to transfer an empty array to match the method definition on the server side?
Any help is greatly appreciated,
Erik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm currently using the Marquee XmlRpc library on the server side (running on java) and Eric Kidd's XmlRpc library for the (C++) clients. I'm evaluating XmlRpc++ and are impressed of the functionality.
The server side defines lots of methods with different sets of parameters and here's the problem:
Say the second parameter of a method is defined as an array (vector in java) and there is currently no element for this array at the client side, how can I have XmlRpc++ to transfer an empty array to match the method definition on the server side?
Any help is greatly appreciated,
Erik
// The setSize(int) method coerces the value to an array
XmlRpcValue emptyArray;
emptyArray.setSize(0);