<?php
include("nusoap-0.7.3/lib/nusoap.php");
$client = new nusoap_client('https://rdws.rd.go.th/ServiceRD/CheckTINPINService.asmx?WSDL',true);
$client->decode_utf8 = false;
$result = $client->call('ServicePIN',array('PIN' => '31021xxxxxxxx','username'=>'anonymous','password'=>'anonymous'));
if ($client->fault) {
echo '<h2>Fault</h2><pre>';
print_r($result);
echo '</pre>';
} else {
print_r($result);
}
?>
ไม่มีความคิดเห็น:
แสดงความคิดเห็น