Proxy authentication and Axis with Java Web Start

I read that JWS prompts for the proxy username and password if required on application launch.

The Axis documentation says that the properties "http.proxyUser" and "http.proxyPassword" have to be set.

Is everything done automatically or from where does one get the values to put there?

Also, what about NTLM proxy authentication, is there any way to get it to work with Axis?

(I'm using the Java runtime for communicating, not HttpClient)

It's hard to find out any documentation about this topic.

Thanks

[548 byte] By [matomiraa] at [2007-10-2 10:48:21]
# 1

Well, once the proxy starts requiring authentication, the SOAP communication fails.

I'm not setting any proxy authentication properties. The communication is via HTTPS.

JWS asks for the credentials, but then Axis fails with:

org.apache.axis.AxisFault: ; nested exception is:

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

matomiraa at 2007-7-13 3:04:42 > top of Java-index,Desktop,Deploying...
# 2

I got it working with basic proxy authentication by implementing a transport using URLConnection.

Now, digest proxy authentication never succeeds, at least with Squid (2.5 and 3.0) and Java 1.5.0_05

All this proxy authentication business is now handled automatically by the Java runtime.

matomiraa at 2007-7-13 3:04:42 > top of Java-index,Desktop,Deploying...
# 3
could You post Your Transport Implementation? I have the same problem and dislike to reinvent the wheel.thanx ralf
sistara at 2007-7-13 3:04:42 > top of Java-index,Desktop,Deploying...
# 4
I posted the fleshed-out transport to:https://issues.apache.org/jira/browse/AXIS-790It's URLConnectionHTTPSender.java (it's based on the other one, SimpleHTTPSender.java)Please try to post there any further improvements.
matomiraa at 2007-7-13 3:04:42 > top of Java-index,Desktop,Deploying...
# 5
Note that it works with digest if you use HTTP, but not HTTPS (I alredy informed Sun about this).I haven't tried it with NTLM. Theoretically, it should work.
matomiraa at 2007-7-13 3:04:42 > top of Java-index,Desktop,Deploying...