473,471 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to cancel a webservice?

HI,

In my client application (a CSharp Windows App), I invoke a webservice
function. Because these client applications are sometimes running half-way
around the world from the server, and sometimes their Internet connection
is, well, crappy, the webservice call sometimes times out!

Is there a way to cancel a webservice in progress? I want to give the user
a chance to cancel it and re-try. When there is no problems, the webservice
function takes less than a second to get submitted and receive a reply
back.

Thanks!
Nov 23 '05 #1
2 1608
Promote your web services to GXA

Have a look at this
http://msdn.microsoft.com/webservice...tml/whywse.asp

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET

"hellrazor" <jo***@another-world.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
HI,

In my client application (a CSharp Windows App), I invoke a webservice
function. Because these client applications are sometimes running half-way
around the world from the server, and sometimes their Internet connection
is, well, crappy, the webservice call sometimes times out!

Is there a way to cancel a webservice in progress? I want to give the user
a chance to cancel it and re-try. When there is no problems, the
webservice
function takes less than a second to get submitted and receive a reply
back.

Thanks!

Nov 23 '05 #2
Promote your web services to GXA

Have a look at this
http://msdn.microsoft.com/webservice...tml/whywse.asp

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET

"hellrazor" <jo***@another-world.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
HI,

In my client application (a CSharp Windows App), I invoke a webservice
function. Because these client applications are sometimes running half-way
around the world from the server, and sometimes their Internet connection
is, well, crappy, the webservice call sometimes times out!

Is there a way to cancel a webservice in progress? I want to give the user
a chance to cancel it and re-try. When there is no problems, the
webservice
function takes less than a second to get submitted and receive a reply
back.

Thanks!

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DM | last post by:
I want to be able to cancel an async call to a VB.Net web service and for the web service to know it has been cancelled so that it can abort gracefully. I have used the Begin.... and End......
1
by: Gopal Prabhakaran | last post by:
Dear Guys I developed a Win form application using C#. In my application, I used Login form to enter into application. In this login form I used three buttons( OK, Close and Cancel). The OK...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
0
by: hellrazor | last post by:
HI, In my client application (a CSharp Windows App), I invoke a webservice function. Because these client applications are sometimes running half-way around the world from the server, and...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
0
by: Frederic Hoornaert | last post by:
Hi, I have a webrequest which is started Asynchronously : _pf = new PrimeFactorizer(); _pf.FactorizeCompleted += new FactorizeCompletedEventHandler(pf_FactorizeCompleted);...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.