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

RE: error on HTTP_URL_POST



Um, HTTP_TIMEOUT is a constant of 60.
Just remove the HTTP_TIMEOUT and put in your new timeout value.

Craig

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Karl Woods
Sent: Monday, March 09, 2009 2: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
-----------------------------------------------------------------------

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.  Unless expressly stated in this e-mail, nothing in this message or any attachment should be construed as a digital or electronic signature.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------