Click here to Skip to main content
11,640,599 members (63,368 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 Mika Wendelius 300
1 CPallini 209
2 OriginalGriff 165
3 Sergey Alexandrovich Kryukov 139
4 Afzaal Ahmad Zeeshan 130
0 Mika Wendelius 200
1 OriginalGriff 145
2 CPallini 115
3 jgakenhe 40
4 sasanka sekhar panda 30

Advertise | Privacy | Mobile
Web04 | 2.8.150731.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