Fail to connect https url through Proxy Digest Authentication in Axis2(java)
posted 3 years ago
I am Accessing .net web service through Java.
Service Authentication Mode : Anonymous/ Basic / Digest
Proxy Authentication Mode : Digest
above combination is successful when URL contains (http) i.e non SSL connection
but fails when URL contains (https) i.e SSL connection
I don' know where I made mistake
i.e in configuration setting of mod_proxy or in code level.
If I try to access same url (http/https) through browser its work fine. (So my assumption is that Configuration setting is OK)
but through java code error is occurring. (Chances of mistake in code is high)
※Through C# code also it fails for the same combination i.e access URL(https) with proxy server with Digest authentication
Here is my java code
after invoking any function of web service I am getting following error
I had enabled following modules in mod_proxy configuration file.
When I am try to access same URL(http/https) with proxy(Anonymous & Basic authentication) its work fine.
I don't know where I am doing mistake. Please reply ASAP.