Hi Everybody! I am working with Revive Adserver with XML_RPC API. The problem is that I can not call AddBanner with an image file attached. I Used this part of code : $data = array(
'aImage' => array(
'filename' => $file['aImage']['name'],
'content' => file_get_contents($file['aImage']['tmp_name']),
'campaignId' => 1,
'storageType' => 'web'
$this->client = new Client('http://example.com/api/v2/xmlrpc/');
$this->client->call('ox.addBanner', $data);It sends this Error XML error: Invalid character at line 2I made a question at stackoverflow too. Should I use any encoding? I used base64 but didnt work!