wcf: How to use wsHttpBinding under IIS6 when anonymous authentication not allowed




My asp.net web application (vs2008/ net 3.5) is using IIS Windows
Authentication ,and Anonymous access is not allowed.
I deployed a wcf web service using wsHttpBinding and receive a
MessageSecurityException when I try to call any ws method.

My web config contains the service definition with endpoint, I tried to use
in the WsHttpBinding a <secutity mod="Message" > because I have not https
available on this server but I need a secure connection.

How to set correctly the security mode for binding and client ?
How to have impersonation working in the wcf service without having it using
the asp.net compatibility mode ?

Thanks for help.



Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question