ID: 42081 Updated by: [EMAIL PROTECTED] Reported By: gpf at hot dot ee -Status: Assigned +Status: Bogus Bug Type: SOAP related Operating System: Windows Vista PHP Version: 5.2.3 Assigned To: dmitry New Comment:
This is not an ext/soap bug. Probably this is a local configuration problem. Previous Comments: ------------------------------------------------------------------------ [2007-07-25 19:40:02] will dot fitch at gmail dot com I have tried this on Vista Ultimate running PHP 5.2.3 and it works fine. Can you supply your WSDL? It sounds like either your local machine (specific to your computer) isn't responding, or your soap:address is looking elsewhere. ------------------------------------------------------------------------ [2007-07-23 18:26:46] gpf at hot dot ee Description: ------------ I got fopen with URL-s work on Windows Vista. Changing host file makes fopen work with URL-s. Just comment out the line :: 1 But I found another weird thing. Although fopen works now SoapClient still gets the error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Same error appears also to error.log. Reproduce code: --------------- $client = new SoapClient('http://127.0.0.1/wcftest/MathService.svc?wsdl'); var_dump($client->__getFunctions()); Expected result: ---------------- It should dump out all methods found from web service called MathService. Actual result: -------------- The following lines in error.log: [Mon Jul 23 20:20:32 2007] [error] [client 192.168.1.103] PHP Warning: SoapClient::SoapClient(http://127.0.0.1/wcftest/MathService.svc?xsd=xsd0) [<a href='function.SoapClient-SoapClient'>function.SoapClient-SoapClient</a>]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\r\n in C:\\www\\htdocs\\wcf.php on line 6, referer: http://127.0.0.1:8080/ [Mon Jul 23 20:20:32 2007] [error] [client 192.168.1.103] PHP Warning: SoapClient::SoapClient() [<a href='function.SoapClient-SoapClient'>function.SoapClient-SoapClient</a>]: I/O warning : failed to load external entity "http://127.0.0.1/wcftest/MathService.svc?xsd=xsd0" in C:\\www\\htdocs\\wcf.php on line 6, referer: http://127.0.0.1:8080/ [Mon Jul 23 20:20:32 2007] [error] [client 192.168.1.103] PHP Fatal error: SOAP-ERROR: Parsing Schema: can't import schema from 'http://127.0.0.1/wcftest/MathService.svc?xsd=xsd0' in C:\\www\\htdocs\\wcf.php on line 6, referer: http://127.0.0.1:8080/ [Mon Jul 23 20:20:32 2007] [error] [client 192.168.1.103] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\www\\htdocs\\wcf.php on line 11, referer: http://127.0.0.1:8080/ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42081&edit=1