client.getAxisService().getPolicyInclude().addPolicyElement(PolicyInclude.AXIS_SERVICE_POLICY, rampartConfig);
getPolicyInclude().addPolicyElement is deprecated... On Mon, 2009-01-12 at 21:39 +0530, Nandana Mihindukulasooriya wrote: > Hi Ced, > This [1] tutorial shows how to set Rampart configuration using the > API. Look at the "Step 6. Setting the Rampart specific configuration > details" section. This guide [2] provides information about Rampart > Configuration. "timestampTTL" is the parameter set Time To Live value of the > time stamp. > > thanks, > nandana > > > [1] - http://wso2.org/library/3415 > [2] - http://ws.apache.org/rampart/rampartconfig-guide.html > > On Mon, Jan 12, 2009 at 7:14 PM, Cedric Bompart > <cedric.bomp...@echovox.com>wrote: > > > Hi, > > > > How can I specify a TimeToLive on the client side using the API? > > > > I would like to generate the WSU:Timestamp in the security header. > > > > > > Regards, > > Ced. > > > > -- > > Cedric Bompart <cedric.bomp...@echovox.com> > > Echovox > > > > > > -- Cedric Bompart <cedric.bomp...@echovox.com> Echovox