Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The HTTP request is unauthorized with client authentication scheme 'Anonymous'

 
vibeeshan kambli
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am trying to test a .net webservice with Soap UI and I am getting following error. I do specify username and password in the request properties but service still throws following error

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

Any help is greatly appreciated.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
First of all, note that there is a special page in soapUI with authentication and security-related settings in connection to a request. Have you tried using it, instead of manipulating HTTP headers directly?
The Java EE principal being set to 'Anonymous' can mean that the principal has not been set at all and thus that your authentication has failed, for some reason.
Best wishes!
 
vibeeshan kambli
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ivan,
Thanks for the reply. I am not manipulating headers, I am using soap UI request page to specify user name,password,timeout etc.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you seen this webpage: http://stackoverflow.com/questions/1044034/wcftestclient-the-http-request-is-unauthorized-with-client-authentication-scheme
I fear that I am not able to help you further, since my experience in this area is limited.
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic