[jboss-user] [JBoss Web Services] - Re: Call web services with different certificates

Mats Andersson do-not-reply at jboss.com
Wed Feb 9 08:06:56 EST 2011


Mats Andersson [http://community.jboss.org/people/matz75] created the discussion

"Re: Call web services with different certificates"

To view the discussion, visit: http://community.jboss.org/message/586456#586456

--------------------------------------------------------------
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 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
[http://community.jboss.org/message/586456#586456]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110209/ee30c890/attachment.html 


More information about the jboss-user mailing list