Ask a Question related to ASP.NET Web Services, Design and Development.
-
mimi #1
asynchronous call to web service from a web page
My web service is to update a database. When user clicks on a button on a
web page, it calls web service to update database. With hundred thousand
transactions, it takes 15-20 minutes to update database, eventually it times
out. How do I make an asynchronous call to the web service without needing
a return from call back method. User doesn't have to wait, they just call
the web service then move to other web pages. Thanks
mimi Guest
-
Asynchronous Web Service Call
Karl, If the webservice is out of process (whether it be on another machine or just out of process), then it will be executed using a thread from... -
How to use asynchronous mode of web service in asp.net page?
Hi, I use asynchronous mode of web service in asp.net page and specify a callback function. My question is how can I keep the returned value ?... -
how to make asynchronous call to web service when its OneWay property is set to true.
I have web service with the following signature public void Update(XmlElement objElement) { // //call another C# library that update the... -
Web service Asynchronous call fails
Hi I created a webservice with a simple we method to increment a number passed from the client(a console app) . Then i call this web service method... -
Asynchronous Web Service Call Fails
Hi I created a webservice with a simple we method to increment a number passed from the client(a console app) . Then i call this web service method... -
Ravikanth[MVP] #2
RE: asynchronous call to web service from a web page
Hi
Please check the following url
[url]http://dotnetjunkies.com/WebLog/robcannon/archive/2004/04/02/10679.aspx[/url]
HTH
--
Ravikanth[MVP]
"mimi" wrote:
> My web service is to update a database. When user clicks on a button on a
> web page, it calls web service to update database. With hundred thousand
> transactions, it takes 15-20 minutes to update database, eventually it times
> out. How do I make an asynchronous call to the web service without needing
> a return from call back method. User doesn't have to wait, they just call
> the web service then move to other web pages. Thanks
>
>
>Ravikanth[MVP] Guest
-
mimi #3
Re: asynchronous call to web service from a web page
Thanks, but it's for win form and stills need a pointer to call back
function.
"Ravikanth[MVP]" <RavikanthMVP@discussions.microsoft.com> wrote in message
news:ADF999B3-A7BD-4983-9F47-BE129E3079E4@microsoft.com...on a> Hi
> Please check the following url
> [url]http://dotnetjunkies.com/WebLog/robcannon/archive/2004/04/02/10679.aspx[/url]
>
>
> HTH
> --
> Ravikanth[MVP]
>
>
> "mimi" wrote:
>> > My web service is to update a database. When user clicks on a buttonthousand> > web page, it calls web service to update database. With hundredtimes> > transactions, it takes 15-20 minutes to update database, eventually itneeding> > out. How do I make an asynchronous call to the web service withoutcall> > a return from call back method. User doesn't have to wait, they just> > the web service then move to other web pages. Thanks
> >
> >
> >
mimi Guest
-
mimi #4
Re: asynchronous call to web service from a web page
I got it. I just need to call BeginXXX the process continues running even
the page finish loading. When the process finished, it writes into a log
file. User can check the log file any time. Thanks
"mimi" <mh2521@hotmail.com> wrote in message
news:%23hGB7M$bEHA.3664@TK2MSFTNGP12.phx.gbl...button> Thanks, but it's for win form and stills need a pointer to call back
> function.
>
> "Ravikanth[MVP]" <RavikanthMVP@discussions.microsoft.com> wrote in message
> news:ADF999B3-A7BD-4983-9F47-BE129E3079E4@microsoft.com...> > Hi
> > Please check the following url
> > [url]http://dotnetjunkies.com/WebLog/robcannon/archive/2004/04/02/10679.aspx[/url]
> >
> >
> > HTH
> > --
> > Ravikanth[MVP]
> >
> >
> > "mimi" wrote:
> >> > > My web service is to update a database. When user clicks on a> on a> thousand> > > web page, it calls web service to update database. With hundred> times> > > transactions, it takes 15-20 minutes to update database, eventually it> needing> > > out. How do I make an asynchronous call to the web service without> call> > > a return from call back method. User doesn't have to wait, they just>> > > the web service then move to other web pages. Thanks
> > >
> > >
> > >
>
mimi Guest
-
Dino Chiesa [Microsoft] #5
Re: asynchronous call to web service from a web page
yep,
you can also mark the web service method OneWay.
In this case there is no response at all.
[url]http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWebServicesProtocolsSoapRpcMethodAttrib uteClassOneWayTopic.asp[/url]
Doing this, you don't need to BeginInvoke_BlahBlahBlah().
It is a big clearer to someone reading the code that this is not just async,
it is actually "fire and forget".
-D
"mimi" <mh2521@hotmail.com> wrote in message
news:um1Mvt$bEHA.3824@TK2MSFTNGP10.phx.gbl...message> I got it. I just need to call BeginXXX the process continues running even
> the page finish loading. When the process finished, it writes into a log
> file. User can check the log file any time. Thanks
>
>
> "mimi" <mh2521@hotmail.com> wrote in message
> news:%23hGB7M$bEHA.3664@TK2MSFTNGP12.phx.gbl...> > Thanks, but it's for win form and stills need a pointer to call back
> > function.
> >
> > "Ravikanth[MVP]" <RavikanthMVP@discussions.microsoft.com> wrote in[url]http://dotnetjunkies.com/WebLog/robcannon/archive/2004/04/02/10679.aspx[/url]> > news:ADF999B3-A7BD-4983-9F47-BE129E3079E4@microsoft.com...> > > Hi
> > > Please check the following url
> > >it> button> > >
> > >
> > > HTH
> > > --
> > > Ravikanth[MVP]
> > >
> > >
> > > "mimi" wrote:
> > >
> > > > My web service is to update a database. When user clicks on a> > on a> > thousand> > > > web page, it calls web service to update database. With hundred> > > > transactions, it takes 15-20 minutes to update database, eventuallyjust> > times> > needing> > > > out. How do I make an asynchronous call to the web service without> > > > a return from call back method. User doesn't have to wait, they>> > call> >> > > > the web service then move to other web pages. Thanks
> > > >
> > > >
> > > >
> >
>
Dino Chiesa [Microsoft] Guest
-
mimi #6
Re: asynchronous call to web service from a web page
great. That's what I needed. Thanks
"Dino Chiesa [Microsoft]" <dinoch@online.microsoft.com> wrote in message
news:eP1CnrNcEHA.1248@TK2MSFTNGP11.phx.gbl...[url]http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWebServicesProtocolsSoapRpcMethodAttrib uteClassOneWayTopic.asp[/url]> yep,
> you can also mark the web service method OneWay.
> In this case there is no response at all.
>async,>
> Doing this, you don't need to BeginInvoke_BlahBlahBlah().
> It is a big clearer to someone reading the code that this is not justeven> it is actually "fire and forget".
>
>
> -D
>
>
> "mimi" <mh2521@hotmail.com> wrote in message
> news:um1Mvt$bEHA.3824@TK2MSFTNGP10.phx.gbl...> > I got it. I just need to call BeginXXX the process continues runninglog> > the page finish loading. When the process finished, it writes into aeventually> message> > file. User can check the log file any time. Thanks
> >
> >
> > "mimi" <mh2521@hotmail.com> wrote in message
> > news:%23hGB7M$bEHA.3664@TK2MSFTNGP12.phx.gbl...> > > Thanks, but it's for win form and stills need a pointer to call back
> > > function.
> > >
> > > "Ravikanth[MVP]" <RavikanthMVP@discussions.microsoft.com> wrote in> [url]http://dotnetjunkies.com/WebLog/robcannon/archive/2004/04/02/10679.aspx[/url]> > > news:ADF999B3-A7BD-4983-9F47-BE129E3079E4@microsoft.com...
> > > > Hi
> > > > Please check the following url
> > > >> > button> > > >
> > > >
> > > > HTH
> > > > --
> > > > Ravikanth[MVP]
> > > >
> > > >
> > > > "mimi" wrote:
> > > >
> > > > > My web service is to update a database. When user clicks on a> > > on a
> > > > > web page, it calls web service to update database. With hundred
> > > thousand
> > > > > transactions, it takes 15-20 minutes to update database,without> it> > > times
> > > > > out. How do I make an asynchronous call to the web service> just> > > needing
> > > > > a return from call back method. User doesn't have to wait, they>> >> > > call
> > > > > the web service then move to other web pages. Thanks
> > > > >
> > > > >
> > > > >
> > >
> > >
> >
>
mimi Guest



Reply With Quote

