new xmlrpcval('Test','string') ), 'struct' ) /* , new xmlrpcval( array( // 'isPrimary' => new xmlrpcval(1, 'boolean'), 'categoryId' => new xmlrpcval('newcat1','string') ), 'struct' ), new xmlrpcval( array( 'categoryId' => new xmlrpcval('General','string') ), 'struct' ) */ ), 'array' ) ) ); echo 'ready'; $c=new xmlrpc_client($serverPath, $serverHost, $serverPort); $c->setDebug(1); $r=$c->send($f); $v=$r->value(); if (!$r->faultCode()) { echo 'succes!'; } else { print "Fault: "; print "Code: " . $r->faultCode() . " Reason '" .$r->faultString()."'
"; } ?>