|
Posted by David Haynes on 10/19/05 00:26
I am having a problem getting a SOAP connection to work and would
appreciate any suggestions.
The story so far:
1. I can point my browser at the service site (https://10.0.1.1:1234/)
and get a meaningful XML response.
2. My php5 code looks like this:
<?php
$client=new SoapClient("http://localhost/xxx/wsdl/xxx.wsdl",
array(
'uri' => "https://10.0.1.1:1234/",
'userName' => "xxx",
'password' => "xxx",
'trace' => 1,
'exceptions' => 1
)
);
$client->GetContents();
echo "Request:\n".$client->__getLastRequest()."\n";
echo "Response:\n".$client->__getLastResponse()."\n";
?>
3. I have enabled the php_openssl.dll in my php.ini
4. I have restarted apache
5. I have checked that the ssl dlls are in c:\system32
I get an 'Uncaught SoapFault exception: [HTTP] Could not connect to host
....' message from this code.
Ideas?
Thanks
-david-
Navigation:
[Reply to this message]
|