Hansen, Geir wrote:
Try this one Håkon:
Prøv denne Håkon:

System.setProperty("axis.socketSecureFactory", 
"org.apache.axis.components.net.SunFakeTrustSocketFactory");

Add this line before the code that instantiates the service object. WARNING: this code should not be used in a production environment, as it will allow your client to connect to any SSL server, trusted or not.

Anyway, I guess Creditinform (that's the service you are trying to create a 
client against isn't it?) has a valid certificate you are supposed to use. Get 
the certificate, install it in your Java keystore and run. Then you shouldn't 
need the above code...

Either the certificate at the webservices end is non-valid, or you haven't 
installed the certificate in your keystore.


Thank you!  Very useful information.

And it works too ;)

I'll have to investigate the certificat issue a bit more, but at least
this lets me get on with it :)

Thank you again Geir.

Håkon
--
We shall fight on the beaches,
we shall fight on the landing grounds,
we shall fight in the fields and in the streets,
we shall fight in the hills;
we shall never surrender
http://www.getfirefox.com/

Reply via email to