axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denise Wu <wadie...@gmail.com>
Subject securing REST webservices
Date Fri, 20 May 2011 12:39:23 GMT
Hi,

I have a RESTful webservice I need to secure using rampart. I used as
a starting point the sample 07 in rampart distribution and that allows
both Encrypt and Sign of messages.
I added to the client code the following lines:

options.setProperty(Constants.Configuration.ENABLE_REST, Constants.VALUE_TRUE);
client.setOptions(options);

I am getting the following error:

WSDoAllReceiver: Incoming message does not contain required Security header

Is rampart encryption and signing compatible with REST?
If not how to secure RESTful webservices?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message