I needed to configure the WCF service binding so that I could pass the raw content to the WCFRest service. Works great, but I can't get it to accept transport-level security. I want https and basicauthentication, as I use elsewhere. The end point is as follows:
<endpoint address="" behaviorConfiguration="web" contract="SmsService.ISmsReceive" binding="customBinding" bindingConfiguration="RawReceiveCapable"></endpoint>
customBinding looks like this:
<customBinding> <binding name="RawReceiveCapable"> <security mode="Transport"> <transport clientCredentialType="Basic"/> </security> <webMessageEncoding webContentTypeMapperType="SmsService.RawContentTypeMapper, SmsService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> <httpTransport manualAddressing="true" maxReceivedMessageSize="524288000" transferMode="Streamed" /> </binding> </customBinding>
but the system complains that the mode attribute is not allowed in node security. Without node security, everything works fine, but not https.
thanks
Ray
RBrowning99
source share