473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1604
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.