Call to undefined method SOAP_Fault::setOpt()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rocksolidhq
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 7:55 pm

Call to undefined method SOAP_Fault::setOpt()

Post by rocksolidhq »

Hey All,

okay, i've been pulling my hair out and cannot figure out what is going on.

i'm no genius wrt SOAP but i have an app that uses SOAP calls and it's been working just fine. i have it installed in a half dozen locations and have no issues with it but my latest installation is a bit different in that it is an IIS7 server. i don't know if this makes a difference or not to be honest. Most of my SOAP calls work just fine but this one just plainly does not.

the code is:

Code: Select all

  
$soapclient = new SOAP_WSDL($orderSystem3);
$proxy = $soapclient->getProxy();
$proxy->setOpt('timeout', 200); 
and it throws back the error in the subject.

A) what does the error really tell me?
B) could IIS7 have anything to do with it?

thanks,
dean :banghead:
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Call to undefined method SOAP_Fault::setOpt()

Post by Weirdan »

rocksolidhq wrote: A) what does the error really tell me?
It tells you that getProxy() call returned object of class SOAP_Fault. Inspecting it's contents would probably help to understand what the issue is.
rocksolidhq wrote: B) could IIS7 have anything to do with it?
No idea.
rocksolidhq
Forum Newbie
Posts: 17
Joined: Tue Jul 22, 2008 7:55 pm

Re: Call to undefined method SOAP_Fault::setOpt()

Post by rocksolidhq »

thanks. Indeed it was throwing an error. IIS7 is just a bit more secretive about showing errors and i didn't see the root cause right away.

best regards,
dean
Post Reply