Page 1 of 1

SOAP Connection Issue

Posted: Wed Dec 01, 2010 5:48 am
by MJane
I've produced a SOAP client that connects to HMRC SOAP service both live and testing.

This work fine on the live server to both connections.
This works fine on my old development machine, once I've added the ip address for the SOAP servers into my hosts file.

This always comes back with [faultstring] => Could not connect to host [faultcode] => HTTP ) on my new development machine. This is the same result I had on my old development machine that was fixed by hardcoding the ip address but this doesn't work on the new machine.

Thus I know the server is working but that my php doesn't seem to be able to connect which is mostly looking like a DNS issue. I can happily ping the server etc so the machine does know where it is but php SOAP doesn't.

Any hints/suggestion that I can try?