The problem is i am new to php and i think ust knowing the basics leads me to nowhere.
At first i am tring to run the below program and the following error i am getting, i dont know what is going wrong with it but i am unable to acheive what i intend to.
Code: Select all
$client = new SoapClient("http://localhost:8095/crowd/services/SecurityServer?wsdl");
$param = array('in0' => array('credential' => 'password','name' => 'app'));
$resp=$client->authenticateApplication($param);
$token = $resp->out->token;
print_r($resp);
atal error: Uncaught SoapFault exception: [soap:Server] app in /var/www/html/soaptest.php:7 Stack trace: #0 /var/www/html/soaptest.php(7): SoapClient->__call('authenticateApp...', Array) #1 /var/www/html/soaptest.php(7): SoapClient->authenticateApplication(Array) #2 /var/www/html/soaptest.php(12): authenticateApplication() #3 {main} thrown in /var/www/html/soaptest.php on line 7