Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Fail to connect https url through Proxy Digest Authentication in Axis2(java)  RSS feed

DeveloperSd Vichare
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am Accessing .net web service through Java.
Proxy: Mod_Proxy
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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!