Click here to Skip to main content
13,090,299 members (77,995 online)
Rate this:
Please Sign up or sign in to vote.
See more:
//Call to the Service
client1.BeginProcessRecords(SessionId, new AsyncCallback(Class.TransactionalDataCallback), client1);
//Call Back
if (result.AsyncState != null)
                    client1 = (SendRawDataServiceReference.ProcessRecordsServiceClient)result.AsyncState;
                    intProcessedRecCount = intProcessedRecCount + 1;
Hi All,

I am having a exe program that will invoke a wcf service asynchronously. But when i try to invoke the service from the exe, the service is not getting invoked always and it is not throwing any exception.

While adding the service reference, i have checked the check box to Generate Asynchronous methods

I am not able to figure out what is the issue.

Any hepl is appreciated
Posted 9-Jul-12 3:27am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

How to Call WCF Services Synchronously and Asynchronously[^]

I think It will solve your problem...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 9 Jul 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100