大量の SO 記事や他のサイトを調べましたが、このサービスが機能していないようです。ヒットしようとしている SOAP サービスがあり、次のように構成されています。
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="PROVIDERSSoapBinding">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Ntlm" proxyCredentialType="None" realm="" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://xxx.xx.xx.xxx:9011/provider/services/PROVIDERS"
binding="basicHttpBinding" bindingConfiguration="PROVIDERSSoapBinding"
contract="ServiceReference1.ProviderRemote" name="PROVIDERS" />
</client>
</system.serviceModel>
ただし、コンソール アプリケーションからヒットすると、次のエラーが発生します。
HTTP 要求は、クライアント認証方式 'Ntlm' で許可されていません。サーバーから受信した認証ヘッダーは「Negotiate,NTLM」でした。
誰か助けてくれませんか?