标签:http io ar for sp on cti ad bs
var $live_url = ‘https://processing.ukash.com/RPPGateway/process.asmx‘;
$source = array(
‘SecurityToken‘ => $res[0]->merchant_name,
‘BrandID‘ => $res[0]->merchant_key2,
‘UTID‘ => $UTID,
);
$soap = new SoapClient($this->live_url.‘?wsdl‘);
$response = $soap->GetTransactionStatus($source); //$response is the xml string
$xml_obj=simplexml_load_string($response->GetTransactionStatusResult); //transform xml to object
php 向asmx发送请求 || php 发送xml请求, 以及处理返回的xml结果
标签:http io ar for sp on cti ad bs
原文地址:http://www.cnblogs.com/barfoo/p/4023857.html