Jump to content

NuSoap problems


vineld

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.