wshttpBinding in Service Factory

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
Jun 5, 2008 at 6:51 PM
hi,

I am new to WCF... I created a host with wshttpbinding and client generated seems to be of custom binding....

Is there any help on understanding all the config file generated by the service factory ( custom binding)...

any idea what is the security implemented by default when I set binding as wshttpbinding in Service factory???

Developer
Jun 6, 2008 at 1:40 AM
You can avoid getting a custom binding if you set the ProtectionLevel (http://msdn.microsoft.com/en-us/library/system.net.security.protectionlevel.aspx) property of the ServiceContract model element to "EncryptAndSign".
For further info on WCF wsHttpNinding check (http://msdn.microsoft.com/en-us/library/system.servicemodel.wshttpbinding.aspx),
Jun 6, 2008 at 7:18 PM
Thank you that resolved my issue..

ProtectionLevel  on my operation is not set to Encrypt and Sign.. I was able to generate client config with wshttpbinding rather than custom binding ..


Thank you.