[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: error on HTTP_URL_POST



Check the archives for "Time Out Parm on HTTP_POST_XML()"

Basically pass it a TIMEOUT you want to use.

Mike Krebs

> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Karl Woods
> Sent: Monday, March 09, 2009 1:28 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: RE: error on HTTP_URL_POST
> 
> Here's how the post is coded in my program:
> 
> rc = http_url_post_xml(
>      'https://www.myws.net/WS/Watcher/V1_4/CS.asmx'
> 
>      : %addr(SOAP) + 2
>      : %len(SOAP)
>      : %paddr(StartOfElement)
>      : %paddr(EndOfElement)
>      : *NULL
>      : HTTP_TIMEOUT
>      : HTTP_USERAGENT
>      : 'text/xml; charset=utf-8'
>      : 'ClientService/1.2.2/GetReport');
> 
> How would I change the time out?
> 
> 
> Karl
> 
> -----Original Message-----
> From: Scott Klement [mailto:klemscot@xxxxxxxxxxxx]
> Sent: Monday, March 09, 2009 12:18 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: error on HTTP_URL_POST
> 
> Karl,
> 
> The timeout value is a parameter you pass to the http_url_post() (or
> similar) API.
> 
> 
> Karl Woods wrote:
> > Ok. I found out where the problem was. I was feeding the data into a
> Data Queue and reached the max size on the queue. I've corrected the
> problem.
> >
> > I have another problem. I get the following error: CommSSL_Read:
> time-out!
> >
> > Is there any way to increase the wait time before a time-out is
> encountered?
> >
> > Thanks,
> > Karl B. Woods
> > Sr. Programmer/Analyst
> > Professional Services
> >
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------