Thanks a lot. I finally get an encrypted SOAP: The code from the test http://svn.apache.org/viewvc/webservices/wss4j/trunk/test/wssec/TestWSSecurityNew15.java?view=markupfinally runs and produces an encrypted SOAP. So I'm using the same keystore as the test. And I also debugged into the WSS4J code to identify valid parameters.
So how can I specify other encryption algorithms especially I want to use public/private key encryption. How can I modify the generated key info e.g. insert the key name into the SOAP. Can you tell me which test cases test decryption, signing, validate signature? By the way org.apache.axis.utils.XMLUtils.PrettyElementToStream produces blank lines between some elements. regards robert
