This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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.

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!