vineld Posted February 27, 2010 Share Posted February 27, 2010 I am experiencing some difficulties using the NuSoap classes to connect to a .NET based web service. We run PHP4 on our server for various reasons so we are not able to use the built-in SOAP functionality of PHP5. I am able to connect to the web service and retrieve a result from a method. However, it takes forever. Every single request takes EXACTLY 20 seconds. No less, no more at any time. When I check the debugger, it appears as if it is our server that takes forever to connect. Here is where all time is spent: 2010-02-27 20:31:21.387007 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host [REMOTE SERVER OF WEB SERVICE], port 80 2010-02-27 20:31:21.387090 soap_transport_http: calling fsockopen with host [REMOTE SERVER OF WEB SERVICE] connection_timeout 0 2010-02-27 20:31:41.403328 soap_transport_http: set response timeout to 30 2010-02-27 20:31:41.403415 soap_transport_http: socket connected Every other part of the process goes well it seems. Does anyone have any clue as to what the problem could be? Any tips or hints would be highly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/193584-nusoap-problems/ Share on other sites More sharing options...
vineld Posted March 1, 2010 Author Share Posted March 1, 2010 The problem does not seem to be NuSOAP related at all. File_get_contents and curl between the two servers are also slow which means that the problem lies with our server. Does anyone have a clue what could be wrong? NuSOAP and the web service in questions works just fine when I try it at a web host of my own. Quote Link to comment https://forums.phpfreaks.com/topic/193584-nusoap-problems/#findComment-1019874 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.