Costa Brava Cycling Party May 2010

Friday, November 16, 2007

ESB Guidance : Authentication Error with Uddipublisher project

Authentication Error with Uddipublisher project

I received this error when publishing the uddi project :

The HTTP request is unauthorized with client authentication scheme 'Negotiate'.
The authentication header received from the server was 'NTLM,Basic realm="localhost"'.

I solved this error by changing the security to NTLM.

Open the UddiPublisher project and open the class : Microsoft.Practices.ESB.UDDI.UDDIClient

Then change in the UDDIClient the :
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Windows

to

binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Ntlm;

No comments: