Kevin Robinson
asked on
WCF - Disable security
How do you disable security in WCF. I have tried to disable it but am still getting "caller not authented by the service"
My binding looks like this
<basicHttpBinding>
<binding name="basicHttpBinding" closeTimeout="00:30:00" openTimeout="00:30:00"
receiveTimeout="00:30:00" sendTimeout="00:30:00" maxBufferSize="655360"
maxReceivedMessageSize="65 5360">
<readerQuotas maxArrayLength="10000" />
<security mode="None">
<transport clientCredentialType="None " />
</security>
</binding>
</basicHttpBinding>
My binding looks like this
<basicHttpBinding>
<binding name="basicHttpBinding" closeTimeout="00:30:00" openTimeout="00:30:00"
receiveTimeout="00:30:00" sendTimeout="00:30:00" maxBufferSize="655360"
maxReceivedMessageSize="65
<readerQuotas maxArrayLength="10000" />
<security mode="None">
<transport clientCredentialType="None
</security>
</binding>
</basicHttpBinding>
have u changed @ both ends client and server ?
ASKER
Yep. Well I updated my service reference.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have manually checked through the Client and server side and security is turned off.
ASKER
Can I manually create the service references? Sometimes they dont always map correctly to the service.
u can create a clinet class tusing the svcutil tool and then use this to acesst the service..