[eluser]gtech[/eluser]
sorry, I did misunderstand you... I am writing a 'webservice' and have a controller that accepts xmlrpc and calls the appropriate models then replys back using xmlrpc, I use a private key mechanism to keep it all secure.
I use the codeigniters xmlrpc library, and the encryption library to pass keys around. don't know about using soap though.
I turn off DB_DEBUG in the config file and I catch all my database errors so I can reply back any errors in the xml rpc. I am in the process of writing a library for this and will post it up soon
Code:
$dbRet = $this->db->update($table, $data_array);
if (!$dbRet) {
$ret['ErrorMessage'] = $this->db->_error_message();
$ret['ErrorNumber'] = $this->db->_error_number();
} else {
I also document all my APIs using php doc.