This is a quite awkward I hope someone can help me figure out what is happenning with me. I did a small script just toconnect to a SoapServe. When I run it in the command line it works perfect.
But when I try to access it through the web broswer I got a "Could not connect to host" message.
So it's not a problem of resolving a host name as in the command line I can make it work, I think it has something related with the Apache configuration.
My code is simple as this:
try {
$client = new SoapClient("soap.wsdl");
$result = $client->ccReturn($params);
} catch (SoapFault $e) {
print_r($e);
}
I really do not know what I am doing wrong! Please help!