php - SOAP: Unexpected internal error -


i using php request soap request. below code. generating security pass phrase in function : generatewssecurityheader. 1 ok. don't know else wrong in below method.

web-service url: https://ifs-uat.ca.equifax.com/uru/soap/ut/canadav2?wsdl

    $soap_client = new soapclient("https://ifs-uat.ca.equifax.com/uru/soap/ut/canadav2?wsdl");     $functions = $soap_client->__getfunctions();     $soap_client->__setsoapheaders($this->generatewssecurityheader($username, $password, "passwordtext"));      $all_names = array('firstname'=>"perfume",                        'lastname'=>"testsweet");      $all_addresses = array('addressline'=>"109 albert st ne",                            'city'=>"airdrie",                            'province'=>"ab",                            'postalcode'=>"t4b0r5"                            );      $hybrid_address = array('hybridaddress'=>$all_addresses);     $identity = array('name'=>$all_names,                       'address'=>$hybrid_address                       );      $language = array('language'=>'english');      $initial_request = array('identity'=>$identity,                              'processingoptions'=>$language                              );      try{         $test = $soap_client->__soapcall('starttransaction', array('initialrequest'=>$initial_request));     }     catch(soapfault $fault){         die("soap fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})");     }      echo $soap_client->__getlastrequest(); 

error

soap fault: (faultcode: soap:server, faultstring: unexpected internal error)


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -