You don't need WSDLs or web services to work with WSS4J, but you do need to have a SOAP message. If this is the case, then you can just use the lower level APIs of WSS4J, to sign/encrypt, add Timestamps, etc. If this is not the case, then you can use the Apache Santuario - XML Security for Java APIs to sign/encrypt the message.
Colm. On Mon, Jan 27, 2014 at 7:52 PM, Giriraj Bhojak <[email protected]> wrote: > Hi, > > I need to simply send a message in XML format over HTTP to another > application , which in turn would send a response. > I need to apply security using WSS4J. Is it possible to do this without > actually using web services(like publishing a wsdl and then communicating) > and could you please let me know how to achieve this(is RPC the only way to > do it?) > I don't have the need to create a web service and publish a WSDL, since I > simply need to work on in/out messages, > > Thanks, > Giriraj. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
