开发者

Eclipse Web Services Test Client and Exception: (401) Unauthorized error

开发者 https://www.devze.com 2023-01-08 12:22 出处:网络
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)Unauth

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 er开发者_如何学编程ror. How do i get about putting the username/pw authentication so that my client is able to call the functions successfully?

Thank You


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

http://username:password@your_webservice_url

0

精彩评论

暂无评论...
验证码 换一张
取 消