title: Insert data in Postgres with XML-RPC
body: <p>I am trying to insert data into Postgres database by XML-RPC. Code for insert data in postgres database   </p>
  
  <pre><code>&lt;?php         
  $customer_array = array('name'=&gt;new mlrpcval('Customer name',"string"));
  $client = new xmlrpc_client("http://xxx.xxx.x.xx:8069/xmlrpc/object");
  $msg = new xmlrpcmsg('execute');
  $msg-&gt;addParam(new xmlrpcval($dbname, "string"));         
  $msg-&gt;addParam(new xmlrpcval($user_id, "int"));         
  $msg-&gt;addParam(new xmlrpcval($pwd, "string"));         
  $msg-&gt;addParam(new xmlrpcval("res.partner", "string"));         
  $msg-&gt;addParam(new xmlrpcval("create", "string"));         
  $msg-&gt;addParam(new xmlrpcval($customer_array, "struct"));         
  $resp = $client-&gt;send($msg);         
  $customer_id = $resp-&gt;value()-&gt;scalarval();     
  ?&gt;
  </code></pre>
  
  <p>I am getting following error<br>
   <strong>"faultString Access denied"</strong> 
   Does anybody know how can i solve it? 
   Am i missing anything? Your help is highly appreciated. ke  </p>