I am creating a WCF service which must have a soap 1.2 endpoint. The service is using the following custom binding:
Try making the below changes in web.config
(OR) app.config
file
<Configuration>
<webServices>
<protocols>
<remove name="HttpSOAP"/>
<add name="HttpSOAP12" />
</protocols>
</webServices>
</configuration>
<Configuration>
<system.web>
<webServices>
<protocols>
<remove name="HttpSOAP"/>
<add name="HttpSOAP12"/>
</protocols>
</webServices>
</system.web>
websServices needs to be enclosed within the system.web section. If not the soltuion throws error " The configuration section 'webServices' cannot be read because it is missing a section declaration "