Example #1
0
 public function DoTestMyPurchasedDID($DIDNumber, $sMail = 2)
 {
     $client = new SoapClient(null, array('location' => "https://" . DIDX_SITE . "/cgi-bin/WebDIDTester.cgi", 'trace' => 1, 'uri' => "http://" . DIDX_SITE . "/DIDTest"));
     try {
         $ret = $client->DoTestMyPurchasedDID(DIDX_ID, DIDX_PASS, $DIDNumber, $sMail);
     } catch (SoapFault $exception) {
         $ret = $exception;
     } catch (Exception $e) {
         $ret = $e;
     }
     return $ret;
 }