As the Title says
How do I retrieve complex data from an xmlprc run by the robot
as I understand we can only get list of one type string[] or number[]
DataTest::DataTest(Data* data)
{
this->_signature = "A:";
}
void DataTest::execute(xmlrpc_c::paramList const& paramList, xmlrpc_c::value * const retvalP)
{
paramList.verifyEnd(0);
std::vector<xmlrpc_c::value> dataTest;
dataTest.push_back(xmlrpc_c::value_string("foo"));
dataTest.push_back(xmlrpc_c::value_string("bar"));
*retvalP = xmlrpc_c::value_array(dataTest);
}
The error i get is list cannot contain this data type: Variable String
pls how to solve this problem thanks.