Advertisement

05.19.2008 at 12:39PM PDT, ID: 23414943
[x]
Attachment Details

WCF client doesn't return after async call to service

Asked by sfun28 in .NET

Tags: Microsoft, .net, 3.0, Windows Communication Foundation (WCF)

Hi Experts!  I have a WCF client/service.  The client makes an async call to the service using the "Begin" prefixed method in the Proxy.  The service does some work, and then returns a MemoryStream (this is a basicHTTP binding - streaming, MTOM message).  Everything works perfectly fine when the client/service are running on separate machines behind the same router.  However...

When the client/service are on separate machines and behind separate routers the async call stops working.  I've verified that the client makes the call and the service recieves the call.  I've verified that the service properly creates the Memorystream and returns it.  However, the client's callback method is never called!  The strange part is that the client doesn't even timeout!  I've set the timeout to a low amount to test.  Behind the same router, the timeout occurs and the client's callback function is called just fine.  So basically the memorystream is never returned, no timeouts occur, and the client's callback function is never called.  I've disabled firewall on both machines and still no luck.

complete stuck here =(Start Free Trial
 
Loading Advertisement...
 
[+][-]05.20.2008 at 09:43AM PDT, ID: 21607941

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 04:40PM PDT, ID: 21611194

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: .NET
Tags: Microsoft, .net, 3.0, Windows Communication Foundation (WCF)
Sign Up Now!
Solution Provided By: sfun28
Participating Experts: 0
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628