0
votes

I am trying to test a user/pw protected web service using the "web services test client" in Eclipse IDE. I am able to generate the client but when I test any methods I get the exception: (401)Unauthorized error. How do i get about putting the username/pw authentication so that my client is able to call the functions successfully?

Thank You

1
Which framework are you using? CXF? Metro? Axis? Axis2? - Catchwa
Please don't ask the same question multiple times. - user1228

1 Answers

1
votes

You can add username password in url of webservice while accessing.

http://username:password@your_webservice_url