I am new to SOAP API and WSDL. I had this project to use the SOAP API and I used this code from one of the stackoverflow answers. But when I am running this, I am getting this error.
> Uncaught SoapFault exception: [HTTP] Forbidden in /home/public_html/test.php:18 Stack trace: #0 [internal function]: SoapClient->__doRequest
Here is my code:
$wsdl_url = 'API';
$client = new SOAPClient($wsdl_url);
$params = array(
'LBID' => '1',
'YearID' => '23',
'SectorId' => '1',
'Password' => 'password'
$result = $client->getProjectDetails($params);
I don't know what this error is, I tried searching the forums but couldn't get any idea about this. Can anyone help?