Hi Ruchith, Thanks for reply, I was trying to dig into MessageBuilder class. I tried to run RampartEngineTest which internally runs MessageBuilderTestBase, please guide me whether am going in correct way or not.
My requirement is only to sign so I am trying to run test using rampart-policy-1.xml in test-resources\policy folder. But when I try to run I get an exception " org.apache.rampart.RampartException: Missing wsse:Security header in request". I tried to debug it and no luck. Can you please send me a running test client code which I can directly run and test it. It would really help me a lot :) Thanks, Raghu On Nov 15, 2007 11:56 PM, Ruchith Fernando <[EMAIL PROTECTED]> wrote: > Hi Raghu, > > Please have a look at org.apache.rampart.MessageBuilder class [1]. > This is what we use to apply security operations (encr, sig etc.) on a > message, based on the given WS-Security policy (with one additional > Rampart specific assertion). > > Thanks, > Ruchith > > 1. > https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/MessageBuilder.java > Raghu Kishore Kasturi wrote: > > Hi, > > > > I am using Axis2 to send SOAP messages and now I want to use Rampart to > Sign > > the SOAP message. > > > > Can I use Rampart as an independent module to sign the SOAP message. > > > > I want to handle signing piece as a separate module, I don't want to > > integrate with Axis2. Is it possible ? > > > > Help in this regards is appreciated. > > > > Thanks, > > Raghu > > > > -- > http://blog.ruchith.org > http://wso2.org >
