Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 6th, 2012, 07:55 AM
Registered User
 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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





Similar Threads
Thread Thread Starter Forum Replies Last Post
catch 404 error danielnixon ASP.NET 2.0 Basics 1 May 1st, 2008 06:57 PM
Catch PHP error Mantis Pro PHP 7 January 19th, 2005 01:05 PM
Catch POST error ? Mantis HTML Code Clinic 1 December 18th, 2004 06:37 PM
Catch and display an appropriate error nambati General .NET 3 December 16th, 2004 11:00 AM
How to catch error. lancet2003 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 December 3rd, 2003 02:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.