I'm getting an error in code that calls a Java web service. The code works fine on the rest of my team's PCs. I have exactly the same copy of the source code. So I'm guessing it's a configuration issue on my PC buried deep somewhere and has nothing to do with the source code itself?
The error I get is:
The HTTP request was forbidden with client authentication scheme 'Anonymous'
Here are the 2 configuration sections from the web.config.
<binding
name="SEITokenServiceBinding"
closeTimeout="00:01:00"
openTimeout="00:01:00"
receiveTimeout="00:10:00"
sendTimeout="00:01:00"
allowCookies="false"
bypassProxyOnLocal="false"
hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536"
maxBufferPoolSize="524288"
maxReceivedMessageSize="65536"
messageEncoding="Text"
textEncoding="utf-8"
transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas
maxDepth="32"
maxStringContentLength="8192"
maxArrayLength="16384"
maxBytesPerRead="4096"
maxNameTableCharCount="16384" />
<security
mode="None"/>
</binding>
<client>
<endpoint
address="http://10.1.1.1:8180/tokenService"
binding="basicHttpBinding"
bindingConfiguration="SEITokenServiceBinding"
contract="TokenService.SEITokenService"
name="SEITokenServicePort">
<identity></identity>
</endpoint>
</client>