JBoss Community

Re: Call web services with different certificates

created by Mats Andersson in JBoss Web Services - View the full discussion

after more googling i think the problem is in jboss.

i think that the code

UserInterface ui = new SoapService().getUserInterfacePort();

BindingProvider bp = (BindingProvider) ui;

bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,"https://test.com/SoapService");

 

bp.getRequestContext().put("org.jboss.ws.keyStore", path);

bp.getRequestContext().put("org.jboss.ws.keyStoreType", );

bp.getRequestContext().put("org.jboss.ws.keyStorePassword", "password");

 

actually dont send the certificate AT ALL.

so my original question stands: how do i use different certificates against different web services?

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community