Created
December 4, 2013 08:04
-
-
Save cdwijayarathna/7783834 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<definitions xmlns="http://ws.apache.org/ns/synapse"> | |
<localEntry key="sec_policy" | |
src="file:repository/samples/resources/policy/policy_3.xml"/> | |
<sequence name="fault"> | |
<log level="full"> | |
<property name="MESSAGE" value="Executing default "fault" sequence"/> | |
<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/> | |
<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/> | |
</log> | |
<drop/> | |
</sequence> | |
<sequence name="main"> | |
<in> | |
<send> | |
<endpoint name="secure"> | |
<address uri="http://localhost:9000/services/SecureStockQuoteService"> | |
<enableAddressing/> | |
<enableSec policy="sec_policy"/> | |
</address> | |
</endpoint> | |
</send> | |
<log level="full"/> | |
</in> | |
<out> | |
<header xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | |
name="wsse:Security" | |
action="remove"/> | |
<send/> | |
</out> | |
</sequence> | |
</definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment