Posted By

karmacode on 08/25/11


Tagged

php soap


Versions (?)

Soap Fault


 / Published in: PHP
 

  1. $client = new SoapClient("http://services.stage.theignitionnetwork.com/risk/1_1_0/riskservice.asmx?wsdl",array('trace' => 1, 'exceptions' => 0));
  2.  
  3. $response = $client->SubmitEntrant(array('authorizationToken' => $token, 'Optin1' => 0, 'OptIn2' => 0));
  4. if(is_soap_fault($response)) {
  5. trigger_error("SOAP Fault: (faultcode: {$result->faultcode}, faultstring: {$result->faultstring})", E_USER_ERROR);
  6. }

Report this snippet  

You need to login to post a comment.