I'm unclear what your actual question is.

For HTTP basic auth, use Call.setUsername(String) and
setPassword(String).
For SSL, this HOW-TO might help:

http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html


-----Original Message-----
From: Alexander Czernay [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: Axis Client: HTTP-Basic Auth and invalid certificates


I finally got my first simple client from WSDL2Java compiled. Now I run 
into the problem, that I have to use HTTPS with an untrusted certificate

  (javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: No trusted certificate found)

and that I have to authenticate to the service via HTTP basic auth.

How do I have to set things up?

Thanks for your help,
Alexander



Reply via email to