Click here to Skip to main content
11,718,016 members (84,010 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: WCF
I have a scenario in which i have to implement a rest service in wcf hosted in windows service. my requirement is, my data should be passed in xml format to service using http request, & data should be passed internally in encrypted format.

My major doubt is, can we use webhttpbinding or wshttpbinding to fulfill the requirement..?

Please help me....
Posted 24-Apr-13 3:37am

1 solution

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

Solution 1

I do not understand your encryption requirement fully. If the data shall be transported in a secure way. https is the way to go.
vaishali thaker at 25-Apr-13 8:52am
yes u r right, i recently came to know that if we use webhttpbinding, we can secure data using https. So, now i would like to prefer wshttp binding, as by default it provides message security & data is transmitted in soap 1.2 format.

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

  Print Answers RSS
0 OriginalGriff 215
1 F-ES Sitecore 210
2 Maciej Los 140
3 Jochen Arndt 120
4 Andy Lanng 115
0 Sergey Alexandrovich Kryukov 1,649
1 OriginalGriff 535
2 Maciej Los 529
3 Richard MacCutchan 440
4 CHill60 415

Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2015
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