1 23 45 67 89 1011 1213 1415 1617 | <?php $client = new SoapClient("http://svc.paperlesstrans.com:8888/?wsdl"); $token = array( "token" => array( "TerminalID" => "00000000-0000-0000-0000-000000000000", "TerminalKey" => "000000000" )); $run = $client->__call( "testConnection", array("parameters" => $token) ); if ($run->TestConnectionResult->IsSuccess == 1) { echo "Good Connection"; } else { echo "Bad Connection: ".$run->TestConnectionResult->Message; }?> |