Wrox Programmer Forums
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services 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 November 25th, 2005, 01:51 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web service TimeOut

Hi, I'm having a webmethod that takes a long time to return a response to the client, I want to place a progress bar for indicating the progress of the response, or if it is possible to show the remaining time to the client, does any body have an idea?, thanks for you help!!!!!!

 
Old November 27th, 2005, 01:43 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

Your webmethod is taking time to respond due to some heavy processing thats happening in the method or is it due to the bendwidth constraints. If it is former, your can create a wrapper method that would first calculate the time taken and return that time to you app after calling the actual method asyncronously within the service. You can use this returned time to setup the progress bar in your app.

If it is due to bendwidth constraints then there's hardly anything you can say with certainity about the time taken. So a progress bar that would just keep rolling (like the one you see at XP startup) is a good option to give the users something to look at while nothing else is happening.

Right now not getting any other ideas. Do update the forum if you get any.

Regards
Ankur Verma





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
web service ajaytiwarilic ASP.NET 2.0 Basics 0 February 24th, 2007 10:40 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM
Web Service and COM [email protected] .NET Web Services 1 December 22nd, 2005 02:41 PM
Service Oriented Web Service aldwinenriquez .NET Web Services 2 September 15th, 2005 03:25 AM





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