Skip to content

Instantly share code, notes, and snippets.

@hasithaa
Created September 21, 2014 06:40
Show Gist options
  • Save hasithaa/8d24dd955048f53f2523 to your computer and use it in GitHub Desktop.
Save hasithaa/8d24dd955048f53f2523 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="EchoUTDynamicProxy"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<inSequence>
<log level="full"/>
<class name="org.example.rampart.mediator.SetUserMediator">
<property name="username" value="bob"/>
</class>
<send>
<endpoint>
<address uri="https://localhost:9443/services/echo">
<enableSec policy="UTOverTransportDynamic.xml"/>
</address>
</endpoint>
</send>
</inSequence>
<outSequence>
<log level="full"/>
<header xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
name="wsse:Security"
scope="default"
action="remove"/>
<send/>
</outSequence>
</target>
<publishWSDL uri="http://localhost:9763/services/echo?wsdl"/>
<description/>
</proxy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment