You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Hussain, Asim" <AH...@carlsoncanada.com> on 2006/08/17 22:06:44 UTC

x509 question, related to 401 error

Hi I need to connect to a web service.  When I try to connect, I get the
following error:

Bad envelope tag:  html

 

If I try using HttpURLConnection, I get a new error:

 

Server returned HTTP response code: 401 for URL

 

This error is telling me that I need to be authenticated.  The Server side
folks have provided me with a x509 certificate.  I believe I need to use
this certificate to be authenticated.

Is there any way to do this?

 

Can someone please give me a hand?

Thanks