users@jax-ws.java.net

Specifiying keystore on a per-Service basis

From: Ryan Hofschneider <ryan.hofschneider.ctr_at_metnet.navy.mil>
Date: Mon, 19 Jun 2006 13:42:18 -0700

Howdy:

I am using Dispatch.invoke() to interact with a web service over SSL.
I am currently specifying a keystore and truststore by setting the
appropriate system properties. I have also discovered
HttpsURLConnection.setDefaultSSLSocketFactory().

However, I am looking for a solution that won't globally effect
requests to other services within this app or other web applications
hosted in the same container. Can I achieve this with the existing
JAX-WS API, or do I have to abandon this approach and manage my own
HTTPS connections?

Thanks,
Ryan