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

RE: http_url_get_raw call hangs if web service not available



Some questions to think about:

  Does it work when the service is available?

  What does it actually do when you call it and the service is unavailable (How long does it hang? Do you know what the timeout is set to?)

  Are you sure the signature is correct and the parameter values are correct when calling to http_url_get_raw?


  


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Rowena Stanley
Sent: Thursday, December 01, 2011 9:02 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: http_url_get_raw call hangs if web service not available

Our call to http_url_get_raw does not return a value if the web service is not available.  Is there a way to get it to return an error? Here is the call:
   HTPrc = http_url_get_raw( HTPPostData: 0:
     %paddr('HTPINCOMING'): %len(HTPPostData)); 
Confidentiality Notice:  This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

-----------------------------------------------------------------------
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
-----------------------------------------------------------------------