Ax 2012 R2 AIF authentication


I have a problem to access Ax 2012 R2 web service by following this tutorial

When I run the main method this exception message appears “Exception: The HTTP request is unauthorized with client authentication scheme ‘Negotiate’. The authentication header received from server was ‘Negotiate, NTLM’.”

I can access web service WSDL from the Internet without problems. On my web site I have enabled Windows and Anonymous authentication. Both my servers (Web (Windows Server 2012 x64) and AOS (Windows Server 2008R2 x64)) are located on Claude.
Any suggestions?