You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Davanum Srinivas <di...@yahoo.com> on 2003/11/17 14:31:03 UTC

[WSS4J] (Re: Problems with ENCRYPTION and SIGNING)

Please ask on the wss4j-devel mailing list (TILL the project moves to Apache).
http://sourceforge.net/mail/?group_id=81168

Thanks,
dims

--- Alberto_Mu�oz_Gallego <al...@tid.es> wrote:
> 
> Dear colleagues,
> 
> I'd like to introduce myself. I'm Alberto from Spain. I'm testing the new wss4j project under
> Tomcat, but I get to the same error as Kazuo Miyamoto (althought he was working with a web
> services provider) at one particular point.
> 
> When I execute the signing and encrypting functions (for SOAP messages) outside tomcat and axis,
> there's no problem, I can add signature and encryption to them. The problem comes when I have to
> make the same steps as an axis handler (it's already implemented, so someone must have made it
> work :) ).
> 
> The "java.lang.reflect.InvocationTargetException" exception happens exactly here:
> "crypto = (Crypto) c.newInstance(new Object[]{properties});"
> inside CryptoFactory.java
> 
> As I've said, If I follow the same stepts outside tomcat I get no exception.
> Could anyone help with this?
> 
> Sorry for my poor English and thank you very much.
> 
> Un saludo,
> Alberto.
> 
> 
> --------------------------------------------------------------
> Alberto Mu�oz Gallego
> albmg@tid.es
> Tfno.: (9833) 67826
> Telef�nica I+D Boecillo (Valladolid)
> --------------------------------------------------------------
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/