So I am trying to use NuSoap to connect throguh a webservice. I have two different services, one of them works and one of them doesnt.
http://www.domain.com/service/WEBSERVICEGETPRODUCTS.ASMX?op=GetProducts Is the URL for the one that doesnt work
http://www.domain.com/service/WEBSERVICEGETREFERENCES.ASMX?op=GetReferences is the one that does work.
If i use the products url it doesnt work, but if i start a nusoap_client with the references url it does work. The XML datasets are the same.
When i run the products I get an internal service error (500) and the following in the error logs:
(104)Connection reset by peer: FastCGI: comm with server "/var/www/fcgi/php-cgi" aborted: read failed, referer: http://3100959.test.prositehosting.co.uk/cratima/admin/import_nusoap
[Tue Jan 12 13:50:19 2010] [error] [client 184.108.40.206] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/php-cgi", referer: http://3100959.test.prositehosting.co.uk/cratima/admin/import_nusoap
Any ideas anyone?? This is my first time using this so i dont even know how to dbug it really...
P.S. i have googled.. the closest ive come is that it might be something to do with FastCGI and i should turn that off but i dont really know how etc...
$client = new nusoap_client('http://www.domain.com/service/WEBSERVICEGETPRODUCTS.ASMX?WSDL', true);
$result = $client->call('GetReferences');
if ($client->fault) :// Check for a fault
else:// Check for a fault
$err = $client->getError();
if ($err):// Check for errors
else:// Check for errors
endif;// Check for errors
endif;// Check for a fault