I am trying to set up message level security for a WCF application that I am writing. This application already has an endpoint that is set up with transport level security. Can I set up another endpoint that has message level security? This application is running over IIS by the way. I set up a separate service in the same config file like so...
<service name="generalName">
<endpoint address=...>
.
.
.
</service>
<service name="generalName2">
<endpoint address=""...>
</service>
The reason I ask this is because I think I have set everything up and I think It could work. But when I try and access the previous service I get the following error...
Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service.
I know the previous service works because I could access it before I set up the second service.
Any advice for me? Should I just try and write a completely separate service here or are there ways around this?