function xmlrpc_GetSalesmanList($xmlrpcmsg) { ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 2) { /*x*/ $rtn = new xmlrpcresp(php_xmlrpc_encode(GetSalesmanList($xmlrpcmsg->getParam(0)->scalarval(), $xmlrpcmsg->getParam(1)->scalarval()))); /*x*/ } else { /*e*/ $rtn = new xmlrpcresp(php_xmlrpc_encode(GetSalesmanList('', ''))); /*x*/ } ob_end_flush(); return $rtn; }
function xmlrpc_GetSalesmanList($xmlrpcmsg) { return new xmlrpcresp(php_xmlrpc_encode(GetSalesmanList($xmlrpcmsg->getParam(0)->scalarval(), $xmlrpcmsg->getParam(1)->scalarval()))); }