[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: DSPLY CommTCP_read:time-out! - Please help!
Sender: <nellestj@xxxxxxx>
Can you please take a look at this and see if there is something wrong? I added the code for the "time out" and it made it a lot worse!!! It maxed out our server. Please help!!
rc = http_url_get_xml('http://99.999.9.99/'+
'RTITripWS/TripService.asmx/'+
'GetTripUtilization?'+
http_url_encoder_getstr(enc)
: %paddr(StartOfElement)
: %paddr(EndOfElement)
: %addr(resp)
: 120);
>
> From: Scott Klement <sk@xxxxxxxxxxxxxxxx>
> Date: 2005/01/20 Thu PM 11:37:19 GMT
> To: ftpapi@xxxxxxxxxxxxx
> Subject: Re: DSPLY CommTCP_read:time-out!
>
> Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
>
>
> On Thu, 20 Jan 2005 nellestj@xxxxxxx wrote:
> >
> > Are any of you familiar with this error? If so, do you know where we
> > can change the parameters for this error? Right now if we don't get an
> > answer back from our webservice within about 12 seconds, this error pops
> > up for the user.
> >
>
> It's an optional parameter to the HTTP_url_xxxxx() APIs. For example,
> it's the 5th parameter to HTTP_url_get_xml().
>
> So, if you have:
>
> http_url_get_xml( 'http://xxxxxxx'
> : %paddr(MyProc)
> : %paddr(MyOtherProc)
> : *NULL );
>
> Then, you could change it to
>
> http_url_get_xml( 'http://xxxxxxx'
> : %paddr(MyProc)
> : %paddr(MyOtherProc)
> : *NULL
> : 3600 );
>
> Then it wouldn't time out until 3600 seconds (1 hour) have passed.
>
> The other APIs (HTTP_url_get(), HTTP_url_post(), etc, etc) all have the
> same parameter, but it might be in a different place. Check HTTPAPI_H for
> info about the various parms to the API calls.
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubsribe from the list send mail
> to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
> -----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------