Well, thanks but this is not enough information to do the work.
Crypto crypto = CryptoFactory.getInstance("crypto.properties");
WSEncryptionPart part = new
WSEncryptionPart(soapConstants.getBodyQName().getLocalPart(),
soapConstants.getEnvelopeURI(),
"Content");
What content must be in the crypto.properties file? How can I specify the
certificate, transformation algorithms, cryptographic algorithm to use.....?
What does "Content" mean?
The links on this site also don't work well ;)
anyway thanks for your help
regards
robert
2008/6/13 Fred Dushin <[EMAIL PROTECTED]>:
> You're right -- the high-level API links are broken. I'll look into what
> happened.
> For now, try using
>
> http://people.apache.org/~fadushin/stage/wss4j/1.5.4/site/api.html<http://people.apache.org/%7Efadushin/stage/wss4j/1.5.4/site/api.html>
>
> That's the version we "voted" on, and it seems to have all the right
> information.
>
> -Fred
>
> On Jun 13, 2008, at 6:45 AM, Robert Wierschke wrote:
>
> Hi,
>
> how can I sign/verify signature/enrypt/decrypt a SOAP message with WSS4J?
>
> I tried to find some documentation for this but there seems do me nothing
> useful. The few I found don't work at all. The "best" documentation I found
> is the javadoc http://ws.apache.org/wss4j/apidocs/index.html but it
> contains seldom more than the message signatures. I can't find any "how to"
> or useful info on the web sites. The links on
> http://ws.apache.org/wss4j/does either not work or not lead do anything
> useful.
>
> So how to I use WSS4J for securing my SOAP? Where can I find documentation?
>
> regards
> robert
>
>
> P.S: The documentation for Axis2, Rampart, XML-Security is also non
> existent.
>
>
>