No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I cannot figure out the correct way to de-serialize a string passed via xml-rpc. If I print out the string I get [code] {'params': ['123', 3], 'methodName': 'function'} [/code] I could split the string, and then drop unwanted characters. But, that seems like the wrong way. Any help would be … |
|
I'm trying to add xml-rpc to an existing application using [url]http://xmlrpc-c.sourceforge.net/[/url] .I used the following code for testing. [code=c++] xmlrpc_c::clientSimple myClient; xmlrpc_c::value result; myClient.call(serverUrl, methodName, "ii", &result, 5, 7); int const sum((xmlrpc_c::value_int(result))); [/code] The code compiles correctly, but causes the program to throw an error. If I initialize them as … |