Webservice timeout (catch error)
Hi,
i'm new to ASP and i've setup a connection to a webservice. I noticed that there is an option to limit the timeout.
My question is: if a timeout is reached, does an error occur? Because when i set the timeout property to 100 (0,1 sec) no error occurs.
Already thanks for reading this post and hopefully someone knows more about this
example code
SET objSoapClient = Server.CreateObject("MSSOAP.SoapClient30")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
objSoapClient.mssoapinit("blablabla") 'Fill in url
objSoapClient.ConnectorProperty("Timeout") = 5000 '5 seconds
objSoapClient.ConnectorProperty("ConnectTimeout") = 5000 '5 seconds
contentWebservice = objSoapClient.GetElektronikonSaved(strSerialNumber , 0) 'call webmethod
|