SOAP > Uncaught SoapFault exception: [HTTP] SoapClient->__doRequest

Anyone shed light on why I'm getting this error?  I'm guessing it's because some of the paths in the WSDL don't resolve?
PHP Fatal error:  Uncaught SoapFault exception: [HTTP] Could not connect to host in /home/t1shopper/www/dev/soap/covad1.php:13
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://localhos...', 'http://bizdirec...', 1, 0)
#1 [internal function]: SoapClient->__call('processServiceA...', Array)
#2 /home/t1shopper/www/dev/soap/covad1.php(13): SoapClient->processServiceAvailability(Array)\n#3 {main}
  thrown in /home/t1shopper/www/dev/soap/covad1.php on line 13, referer:

Open in new window

Geoff MillikanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hmm, for me the processServiceAvailability function does not take any parameter, or am I blind...
Geoff MillikanAuthor Commented:
Sorry, the script should really just read as the below.  (And yes, you're right but that would return a different error than what we're seeing.)
$client = new SoapClient("");
echo "<pre>";
echo "</pre>";

Open in new window

if i try to call the service i get
IWAB0135E An unexpected error has occurred.
Connection refused: connect

So perhaps you have to sign in anywhere or your Ip has to be activated befpre you cann call this service.
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Ah ok, there is an localhost in the endpoint so i can not connect :-)
Geoff MillikanAuthor Commented:
Right, that's the same issue I think I'm having?!  The WSDL is remote for me too.  I have no control over it.

So are you saying that the error I'm seeing is due to errors in the WSDL?
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
As of now yes the problem is with your WSDL end point

see this is what my Eclipse client says

IWAB0379E Unable to open
IWAB0135E An unexpected error has occurred.
WSDLException: faultCode=OTHER_ERROR: Connection timed out: connect

Just inform the same to the service providers I think they need to Change that localhost to some public Ip or they need to use WS Addressing to handle this situation.  

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Geoff MillikanAuthor Commented:
Thanks guys for your answers, I'm still working on this...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.