function soap_call_delete($id) { $soap = new SoapClient("http://www.keepon.com.tw/KeeponWebService.asmx?WSDL"); $params = array('Identity' => $id); try { $result = $soap->MapDelete($params); kcli_msglog(array($params, $result)); return array(true, $result); } catch (SoapFault $exception) { // kcli_msglog(array($params, "expection: {$exception}")); return array(false, $exception); } }