Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

How do i send http acknowledgement/http 200 ok.

some data will be posted to my wcf service, i have to send the acknowledgement back to the system.

Please any one help me doing this.

Thanks
Santhosh
Posted
Updated 26-Jun-11 19:09pm
v2

1 solution

Check this out..

http://msdn.microsoft.com/en-us/library/ee960152.aspx[^]

Hope this helps... :)

Jasmin
 
Share this answer
 
Comments
Santhosh Kesavan 27-Jun-11 4:40am    
hi
Thanks for ur help...

i worked on the sample which is avlbl in the url

But i need it for webinvoke method...

Do u have any samples for that.

Thanks once again
Mark Salsbery 27-Jun-11 20:28pm    
Does this work (add to end of server service handler method) or is it the same thing the sample linked to above does?

WebOperationContext.Current.OutgoingResponse.StatusCode = System.Net.HttpStatusCode.OK;
WebOperationContext.Current.OutgoingResponse.StatusDescription = "Ok";

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900