...
When a data service receives messages, it expects to receive a signed and encrypted message as specified by the security policy stored in the registry of your server. Therefore, as shown below, you can embed the security configurations directly in the .dbs file of the data service by adding the path to the relevant security policy. Please see Apache Rampart and Axis2 documentation on the format of the policy file. You can also use the 'enableSec' element to ensure that Apache Rampart is engaged for the data service.
Code Block |
---|
<policy key="sec<sec_policy_path>"/> <enableSec/> |
Sample data service configuration
...