wood burning stoves 2.0*
The moose likes Web Services and the fly likes The HTTP request is unauthorized with client authentication scheme 'Anonymous' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "The HTTP request is unauthorized with client authentication scheme Watch "The HTTP request is unauthorized with client authentication scheme New topic
Author

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

vibeeshan kambli
Ranch Hand

Joined: Jan 22, 2003
Posts: 41
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!


My free books and tutorials: http://www.slideshare.net/krizsan
vibeeshan kambli
Ranch Hand

Joined: Jan 22, 2003
Posts: 41
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The HTTP request is unauthorized with client authentication scheme 'Anonymous'
 
Similar Threads
Adding authorization to access webservice
Login page isn't coming
j_security_check 'next' page?
Help needed to call a web service after TAM authentication - (401)Unauthorized
URL Authentication