Page 1 of 1

Call to undefined method SOAP_Fault::setOpt()

Posted: Fri Jun 25, 2010 11:52 am
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:

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

Posted: Fri Jun 25, 2010 1:27 pm
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.

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

Posted: Tue Jun 29, 2010 6:33 am
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