logo       

Re: NuSoap Class fget() func: msg#00106

php.nusoap.general

Subject: Re: NuSoap Class fget() func

It may well be that fgets() is not the issue at all. It is reading data from
the network. It may be that the development endpoint for MapPoint is taking 14
seconds to reply to your request. The only way you will know for sure is to
monitor the network during the call. Both Win2k (Network Monitor) and
Linux/UNIX (tcpdump) include the necessary utilities.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.

----- Original Message -----
From: "jyang" <jyang@xxxxxxxxxxx>
To: "NUSOAP LIST" <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Cc: <drose@xxxxxxxxxxx>
Sent: Thursday, May 20, 2004 1:04 PM
Subject: [Nusoap-general] NuSoap Class fget() func



I have some questions on the nusoap class. we been testing against
mappoint webservices and in doing so we found there was slowness in
retrieval of data from the nusoap class. I'd trace it down to what I
think....maybe the cause of the problem. It seem that "fgets()" in
function getResponse() caused a drop in processing spreed and it seems
to happen only to files that are larger than 8meg or large amount of
data its trying to read. It only happening on the first occurrences. see
my ex below "DROP START HERE":

I'm looking for any suggestion on how to increase this function
(fgets()) performances or others that will do the job better. And
yes...I'm looking at decreasing my results set.


Any help would be great....

example from DEBUG

soap_transport_http: found end of headers after length 279
soap_transport_http: NUSOAP reponse TIME AFTER12:32:19
soap_transport_http: NUSOAP TIME BEFORE12:32:19
soap_transport_http: read body of length 0
soap_transport_http: received a total of 279 bytes of data from server
soap_transport_http: NUSOAP TIME AFTER12:32:19
soap_transport_http: NUSOAP TIME BEFORE12:32:19
soap_transport_http: closed socket
soap_transport_http: NUSOAP CLOSE SOCKET12:32:19
soap_transport_http: found nonce in WWW-Authenticate: Digest qop="auth",
realm="MapPoint", nonce="c3fxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
soap_transport_http: calling fsockopen with host
routev3.staging.mappoint.net
soap_transport_http: NUSOAP FSOCKOPEN BEFORE12:32:19
soap_transport_http: socket connected
soap_transport_http: NUSOAP FSOCKOPEN AFTER12:32:19
soap_transport_http: NUSOAP request TIME BEFORE12:32:19
soap_transport_http: wrote data to socket, length = 1866
soap_transport_http: NUSOAP request TIME AFTER12:32:19

DROP START HERE ......

soap_transport_http: NUSOAP response TIME BEFORE12:32:19
soap_transport_http: BEFORE fgets(): 12:32:19
soap_transport_http: AFTER fgets(): 12:32:25

END HERE....

soap_transport_http: BEFORE fgets(): 12:32:25
soap_transport_http: AFTER fgets(): 12:32:25
soap_transport_http: AFTER fgets(): 12:32:25
soap_transport_http: found end of headers after length 250
soap_transport_http: NUSOAP reponse TIME AFTER12:32:25
soap_transport_http: NUSOAP TIME BEFORE12:32:25
soap_transport_http: read body of length 72276
soap_transport_http: received a total of 72526 bytes of data from server
soap_transport_http: NUSOAP TIME AFTER12:32:26
soap_transport_http: NUSOAP TIME BEFORE12:32:26
soap_transport_http: closed socket
soap_transport_http: NUSOAP CLOSE SOCKET12:32:26
soap_transport_http: end of send()


Disclaimer: This e-mail message is intended only for the personal use of
the recipient(s) named above. If you are not an intended recipient, you
may not review, copy or distribute this message. If you have received this
communication in error, please notify us immediately by e-mail and delete
the original message.
This e-mail expresses views only of the sender, which are not to be
attributed to Rite Aid Corporation and may not be copied or distributed
without this statement.


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise