hi all,
I could really do with your help on this soap problem I have, I've got to connect to a soap service hosted on a windows server when I try and connect either using nusoap or the built in soap of php5 the connection hangs and eventually times out with the error [HTTP] Error Fetching http headers ... does anyone have any ideas?
<?php
try {
//vars
$userName = "xxxx";
$password = "xxxx";
$request = array(
'UserName' => $userName,
'Password' => $password,
'UsernameToken' =>"uuid-4932f54f-4e9f-4837-8ba0-a51d385856a6-1"
);
//soap
$namespace = "http://assureweb.co.uk/Schema/Annuities/V1/";
$soapACTION = "SubmitAnnuityComparisonQuickQuote";
$URL = "https://annuitiesext.assureweb.co.uk/Services/AnnuityComparisonService.svc?wsdl";
$client = new SoapClient($URL,array('soap_version'=>SOAP_1_2, 'trace'=>1, 'encoding'=>'UTF-8',"connection_timeout"=>5));
$SaveTransaction = $client -> SubmitAnnuityComparisonQuickQuote($request, $namespace, $soapACTION);
} catch(SoapFault $fault){
echo "SoapFault: ".$fault;
}
echo "<pre>";
print_r($client);
echo "</pre>";
?>
you can see what the script does by going to http://www.figurelist.com/test_script/
Thanks in advance
Rich