This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Uncaught SoapFault exception: [HTTP] Forbidden

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Your mother was a hamster and your father was a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!