Hi!
I'm having trouble to use WS-Security with X509 certificates. I've followed all the instructions of this blog (my code is pratically the same):
http://www.jroller.com/gmazza/date/20080729
But when I invoke my service I am getting the following exception:
org.apache.ws.security.WSSecurityException: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5); nested exception is: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/PKCS1PADDING at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:690)