Hi Sujan, Pass in a <timeout> option with a value of zero. The value is, if I am not mistaken, the timeout in seconds. More details can be found in the documentation: http://developer.marklogic.com/pubs/4.2/apidocs/Ext-2.html#xdmp:http-get
Kind regards, Geert Van: [email protected] [mailto:[email protected]] Namens Sujan Reddy Verzonden: donderdag 28 april 2011 9:40 Aan: [email protected] Onderwerp: [MarkLogic Dev General] checking the status of webservice (running or not) using xdmp:http-get Hi, How to check the status of the server using xdmp:http-get. If the server is not running, xdmp:http-get is waiting for the timeout and then throwing exception. Instead is there any way to throw exception immediately if the server is not running? Thanks Sujan
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
