Questions tagged [asynchronous-wcf-call]

36 questions
1
vote
2 answers

Web service mass update

Is there a compelling reason to offer "batch update" version of update methods in a .NET web service? Is there a considerable advantage over making multiple calls, asynchronous or synchronous, over HTTP? My first impulse is to offer asynchronous…
Sprague
  • 1,610
  • 10
  • 22
1
vote
1 answer

How can I return a stream in a WCF response asynchronously from a task?

I have a class that does some long-running processing with lots of data and writes the output to a stream that I provide. I am trying to put a WCF front on this (using named pipes) but having trouble figuring out how to return the stream. I have…
Josh
  • 6,944
  • 8
  • 41
  • 64
1
vote
2 answers

WCF Service timeout in Callback

I'm trying to get to grips with WCF, in particular writing a WCF Service application with callback. I've setup the service, together with the callback contract but when the callback is called, the app is timing out. Essentially, from a client I'm…
Muckers Mate
  • 399
  • 8
  • 23
1
vote
0 answers

WCF: Global error handling in operation invoker for async calls

I want a global error handling for my wcf service. Therefore I want to implement my own Operation Invoker. Every service operation has a response type inherited from a base response type. This base response type has a flag if the operation was…
1
vote
0 answers

RIA service call from background thread

I am working on Silverlight app, which is using RIA service. I have lots of data to load when app is running, and all data must be shown on UI. I am loading data with different queries, and there is no sequential dependency between loading…
1
vote
4 answers

Async call for WCF service hosted in windows service

I have hosted a WCF service in windows service. I have console app for which I added a WCF service reference and generated Client for it. I can make Sync call to the service,but Async call doesn't seem to work. If i attach server process it doesn't…
Deepak N
  • 2,561
  • 2
  • 30
  • 44
1
vote
1 answer

Abort Asynchronous Web Service Call and redirect to another URL (ASP.NET Ajax)

In my webapp, I have a list of links generated from code-behind and bound to a repeater control. Clicking on a link opens a popup window, where, along with displaying some data, an asynchronous call to a WCF Service is made (through a javascript…
Punit Vora
  • 5,052
  • 4
  • 35
  • 44
1
vote
3 answers

Decoupled asynchronous calls -- WCF or WF

I'm developing a client / service project in which the client will be behind a firewall with an IP that will not be static. The client would call into the service. Then the service would, at some later time potentially hours later, contact the…
Daniel
  • 33
  • 4
0
votes
2 answers

Dropping outdated WCF responses in Silverlight

In Silverlight I got the following problem. If you fire multiple requests to the web service, the responses might not return in an ordered sequence. Meaning if the first request takes longer than the following ones, its response will return at…
driAn
  • 3,245
  • 4
  • 41
  • 57
0
votes
1 answer

WCF Asynchronous Call - Exception at eventhandler

WCF Asynchronous Call - Exception at eventhandler I am making Asynchronous call to WCF method with eventhandler. I am getting an error at 'EventAddCallback' event and 'e.Error' shows the following error. Any knows why? I adding sample code, error…
CoolArchTek
  • 3,729
  • 12
  • 47
  • 76
0
votes
1 answer

Calling a WCF service in loop from Silverlight, return value in asynch handler is always the same

My colleague has the following problem: The Silverlight application has a list of IDs and makes a WCF service call for each of them to find the object matching that ID. The matching object is then returned to the Silverlight app via an asynchronous…
Miika L.
  • 3,333
  • 1
  • 24
  • 35
0
votes
1 answer

Can you do asynchronous communications with Java and REST web services?

Can you do asynchronous communications with Java on a client that is consuming a REST web service that sometimes takes several minutes to return a value? I think not, after reviewing the below. C# however does allow this user1019776 Which way is…
user1019776
  • 1
  • 1
  • 3
0
votes
1 answer

Max concurrent sessions for WCF using IIS and Asynch methods - releasing resources

I am calling a WCF service from a form. Service is hosted in IIS. The service with the following attributes: InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple I have set the throttling behaviour to max out at 2000 for all…
Faroukg
  • 1
  • 1
0
votes
1 answer

Error when calling the service in async mode

Stackoverflow is definetly the fastest forum so after posting this question in the WCF forum I decided to come here. I have a wcf service which returns a dictionary (IDictionary) and that works just fine. Now I wanted to add the capability of…
sebagomez
  • 9,501
  • 7
  • 51
  • 89
0
votes
1 answer

Notify WCF Service to cancel the currently executing operation and return remaining data.

I have this client application that sends thousands of items for deletion to my wcf service. Since the data is sent in bulk, even if I cancel the operation (with progress bar), all items are deleted. The behavior I want is to be able to cancel the…