I have a WCF Rest web service that I am hosting in a managed application. What I would like is for client input to the service to be passed to the host application for processing, and the results are then passed back to the client. From similar questions like here and here I know I can use events to pass the data from the service to my host application. However, I cannot seem to figure out how to get the resulting data passed back to the client. Is there a way to do this using the webOperationContext or perhaps by creating another event in the host application to pass the data back to the web service?
Asked
Active
Viewed 509 times
1
-
Can I ask, what is the client written in? I may be able to help you on this. – kmp Dec 02 '11 at 08:50
-
The client is written in C#, on the .net 4.0 framework – DaveB Dec 02 '11 at 14:59
-
Is the WCF processing quick? If so then just pass the result back to the client as an out parameter or the result of your WCF method. – Simon Giles Sep 23 '15 at 18:03