Re: how to use asynchronous calls in asmx



I'm still not sure to fully understand what you expect from this scheme.
Keep in mind that under normal circumstances a web service is based on a
request/response pair i.e. each response should be issued in response to a
client request.

Also I'm not sure to understand what benefit you expect from your first
call...

So basically it would give us :

1) you could just display client side that processing has started and then
call the web service once.

2) a variation would be to use an asynchronous call to your service (I
believe Begin<Method> would fail in case if this is what you are after) and
you could additionaly perform client side some other things while the
service is running.

I would choose one of those two schemes.

Extreme solutions would be :

3) to have a pair of calls one submitting a job (possibly returning a job
id) and the other triggering the actual execution.

4) you could even have a client side service that the web service could call
once done.

But I would really double check the reason for this first call before trying
to do so...

--
Patrice

"SenthilVel" <senthilvel.marimuthu@xxxxxxxxxxxxxxxxxxx> a écrit dans le
message de news: uFnZ6PQdGHA.3556@xxxxxxxxxxxxxxxxxxxxxxx
hi ,
what i want to do is :

1. My client calls my asmx webservice --here i need to send a message
back saying "i have started your request".This is the first return
2. secondly i need to complete the job what my asmx is intended to so and
send the status of the job back to my client.

Thanks
Senthil


"Patrice" <scribe@xxxxxxxx> wrote in message
news:uOku0wNdGHA.3348@xxxxxxxxxxxxxxxxxxxxxxx
Try :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconasynchronousprogramming.asp

What do you want to call asynchronously from your web service ? (or do
you meant you want to call your webservice asynchronously).


--

"SenthilVel" <senthilvel.marimuthu@xxxxxxxxxxxxxxxxxxx> a écrit dans le
message de news: eImEaaNdGHA.1276@xxxxxxxxxxxxxxxxxxxxxxx
Hi

Can any one let me know how i can perform a Asychronous calll in a web
service ?

or using a thread in Asmx a better solution than the async call ?

pls send me any link to example, where i can get this answer..

Thanks
Senthil







.



Relevant Pages

  • Re: Implementing a common SOAP Header across multiple Web Service Pages
    ... to set a client up to reference multiple Web ... the Web Service site would ... Your point about leaving the ASMX page as lean as possible and acting just ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Implementing a common SOAP Header across multiple Web Service Pages
    ... between my Web Service application and the client. ... public string SID; ... Web Service page, rather than to a dozen or so separate Web Service pages ... You can easily create a .ASMX file ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Still Need desperate help to start with ASP NET - simplified problems - HELP!!
    ... You could do it as a web service. ... The handler can draw on the webservice for information and db lookup. ... IE posts data AJAX to handler on web server ... featured application (say thick client) which does a lot of complicate ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: WSE 3.0, SoapReceiver and Kerberos encryption
    ... I have a machine we'll call 'Service' which exposes a web service called ... I have defined a WSE 3.0 policy that sets up Kerberos Security. ... I have a machine we'll call 'Client'. ... format when the "target Web service is created using a SoapReceiver ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: UsernameOverTransportSecurity+SSL Confusion, please help
    ... But when I go to my web service: ... I have under IIS settings for my WebService? ... I will have a private key on the server, and I will give the private key to ... The client will automatically get the public key and negotiate a key to ...
    (microsoft.public.dotnet.framework.webservices.enhancements)