BounceCastle (/WEB-INF/lib/bcprov-jdk13-128.jar) is in the classpath on server and client side, isn't it?
I think my problem is "strengt encryption policy". I'll take a look at Sun's doc now. As soon as i solve the problem i'll send a message to mil list.
Thanks for your quick response.
El mar, 13 de 09 de 2005 a las 14:58, Werner Dittmann escribió:
Jorge, curretnly I see two problems: somehow the Crimson parser is used. Crimson is outdated, does not not support namespaces fully. Pls switch to Xerces or any other parser that fully supports namespaces. I saw this on the stack trace of the client side. Pls check your classpath, maybe also the endorsed option. Second, while looking at the stacktrace of the server I see that the SUN JCE provider wasn't able to instatiate the Cipher. Two reason come to my mind: - do you have the full strengt encryption policy installed? By default only the limited one is installed (pls refer to Sun's Java doc hoe to get the full strength policyit). - The Bouncycastle JAR is not in the Path of the server Web application. If WSS4J does not find the Bouncycastle in the Path it is not initialized and registered. Regards, Werner Jorge Martín Cuervo wrote: > Hello, i'm trying to make a webservice with a username/password > validation and encrypted data. First of all, i used UsernameToken and it > works perfect, but when i begin to code encryption it didn't work. do i > need any .jar? > > > > software used: > - jakarta-tomcat-4.1.31 > - axis 1.2.1 > - wss4j 1.1.0 (i replaced xml with this one: xmlsec-1.2.96.jar) > > > server jars: > ./WEB-INF/lib/wsdl4j-1.5.1.jar > ./WEB-INF/lib/saaj.jar > ./WEB-INF/lib/log4j-1.2.8.jar > ./WEB-INF/lib/jaxrpc.jar > ./WEB-INF/lib/commons-logging-1.0.4.jar > ./WEB-INF/lib/commons-discovery-0.2.jar > ./WEB-INF/lib/axis.jar > ./WEB-INF/lib/axis-ant.jar > ./WEB-INF/lib/exist.jar > ./WEB-INF/lib/xmldb.jar > ./WEB-INF/lib/xmlrpc-1.2-patched.jar > ./WEB-INF/lib/wss4j.jar > ./WEB-INF/lib/opensaml-1.0.1.jar > ./WEB-INF/lib/xmlsec-1.2.96.jar > ./WEB-INF/lib/bcprov-jdk13-128.jar > > client jars: > ./libs/jaxrpc.jar > ./libs/axis.jar > ./libs/commons-logging-1.0.4.jar > ./libs/commons-discovery-0.2.jar > ./libs/saaj.jar > ./libs/wsdl4j-1.5.1.jar > ./libs/wss4j.jar > ./libs/opensaml-1.0.1.jar > ./libs/xmlsec-1.2.96.jar > ./libs/bcprov-jdk13-128.jar > > <SNIP> -------------------------------------------------<SNAP> > ____________________________________ > Jorge Martin Cuervo > Analista Programador > > Outsourcing Emarketplace > deFacto Powered by Standards > > email <[EMAIL PROTECTED]> > voz +34 985 129 820 > voz +34 660 026 384 > ____________________________________ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- ;-) ____________________________________ Jorge Martin Cuervo Analista Programador Outsourcing Emarketplace deFacto Powered by Standards email <[EMAIL PROTECTED]> voz +34 985 129 820 voz +34 660 026 384 ____________________________________ |
