Questions tagged [wcf-callbacks]

71 questions
2
votes
1 answer

WCF One-Way Callbacks Timing Out?

How is this possible? I thought one way calls were fire and forget. The method is marked as one-way. The callback concurrency mode is set to Multiple and the UseSychronizationContext of the callback class is set to false. The data being sent is…
Kayode Leonard
  • 425
  • 5
  • 12
2
votes
1 answer

WCF Duplex: How to handle thrown exception in duplex Callback

How do I handle an exception thrown in a callback method on the client in a WCF duplex setup? Currently, the client does not appear to raise the faulted event (unless I'm monitoring it incorrectly?) but any subsequent to call Ping() using the the…
djskinner
  • 8,035
  • 4
  • 49
  • 72
2
votes
0 answers

WCF Callback Deadlocks Even With 'UseSynchronizationContext = false'

I am stuck with a problem that I can't quite understand. The problem is related to synchronization between threads on the client side but I can't find the root cause of this. I created a small demo to simulate the problem, so it will be easier to…
MaorB
  • 117
  • 2
  • 10
2
votes
0 answers

WCF Durable Service with callback, can't get context

I created a service with callback. This is working fine. Now I'd like to make this service durable. My problem is to get the context and load it again later. I call the service like this: class UserManagementProxy : IUserManagementCallback,…
2
votes
1 answer

WCF Callback - Synchronous execution

I'm trying to implement WCF Callback. When I call the callback method on my service side, it executes asynchronously. Is there a way to wait for the callback method to finish execution before the service method steps on to the next statement,…
Arun Vivek
  • 23
  • 3
2
votes
1 answer

WCF call back in load balancing server

I have a chat application developed using WCF call back contract.This use netTcp binding for the client server communication. Client is a Windows Forms application will be running in the client machine(XP or Windows8 machine) This WCF service hosted…
Mat410
  • 21
  • 1
2
votes
0 answers

WCF: call a service method on a callback (same client) with async methods

I'm doing some WCF experiments to understand how far I can run with sessions, callbacks and TPL. One of these experiments has strange outcomes... The service is implemented with a bidirectional binding (NetTcpBinding) and the notifications are…
Gabriel
  • 21
  • 2
2
votes
1 answer

update web application using push notification

I am developing one web application in asp.net 3.5. Now I hv to do push notication with WCF. I hv successfully developed WCF with callback. Now my problem arises I cant update web application because the page lifecycle is end. So please tell me…
ankit Gupta
  • 313
  • 1
  • 5
  • 19
2
votes
1 answer

delphi xe2 implementing wcf made in .net and support callback

I made a simple .NET WCF wsDualHttpBinding that does callback to client. Now I am trying to make a simple delphi console application that implements my wcf service. Here is the code that wsdl soap 1.2 generated for me in delphi I think what I need…
Dmitry Savy
  • 1,067
  • 8
  • 22
1
vote
1 answer

Host WCF service on shared provider

I am trying to access my WCF service on a shared hosting server, i can consume the service but when i try to call the service i get "The caller was not authenticated by the service" error. Client app.config
Lost
  • 65
  • 1
  • 6
1
vote
2 answers

WCF Duplex Callback in WPF Application: Dispatcher.BeginInvoke doesn't execute the delegate

I'm trying to set up a simple duplex service whereby clients connect to the server. Any connected client may execute the BookAdded service operation. When this occurs the server is supposed to raise a callback on all connected clients to notify them…
djskinner
  • 8,035
  • 4
  • 49
  • 72
1
vote
2 answers

How to update value in textBox in ASP.NET from other threads?

I'm using ASP.NET 4.0 on IIS7.5 and WCF Callback technique. I have no problem with callback. The wcf service can fire callback method in web client but it seems it's on another thread with the UI thread. public partial class _Default :…
tong
  • 259
  • 5
  • 23
1
vote
1 answer

WCF4 routing with reliable sessions and callbacks

I'll start with an explanation of what I'm trying to do, and the environment / circumstances involved. I'm working with a pre-existing WCF service (hosted as a windows service) that I've implemented using .NET 4. The service utilizes net.tcp and…
gdanielc
  • 11
  • 2
1
vote
1 answer

WCF netTcpBinding issue: Contract requires Duplex, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it

I'm trying to create a callback in WCF service. Service so far was using basicHttpBinding, so I want to add another end point for netTcpBinding. Service is already hosted in IIS. First It was hosted in IIS 6, but then I installed IIS 7. So, I'm…
delux
  • 1,694
  • 10
  • 33
  • 64
1
vote
1 answer

WCF Callback doesn't fire

I have a WCF Service with a Callback. Then i call a Callbackfunction everything works great except: Then i try to pass a List the Callback isn't called but also there is no Exception thrown. The Callback object is working since everything else works…