I get this error at a WinForms app which looks to an .asmx for interact with the data and everything beyond itself. The end of the app.config file looks like so:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BulkServiceSoap">
<security mode="Transport" />
</binding>
<binding name="BulkServiceSoap1" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address=" http://localhost:3908/BulkService.asmx"
binding="basicHttpBinding" bindingConfiguration="BulkServiceSoap"
contract="BulkUploadService.BulkServiceSoap" name="BulkServiceSoap" />
</client>
</system.serviceModel>
</configuration>
The http://localhost:3908/BulkService.asmx is a replacement for the production .asmx which has an https address. I just changed bindingConfiguration="BulkServiceSoap" to bindingConfiguration="BulkServiceSoap1" to dumb down the security. Do you see why? This tipped me off suggesting WebHttpSecurityMode.Transport was the villian.
No comments:
Post a Comment