SOAP Connection Issue

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
MJane
Forum Newbie
Posts: 1
Joined: Wed Dec 01, 2010 4:45 am

SOAP Connection Issue

Post 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?
Post Reply