Created
May 15, 2014 13:31
-
-
Save imesh/7ef0a5a778f14b8c6497 to your computer and use it in GitHub Desktop.
List all users in sequence.
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
<sequence xmlns="http://ws.apache.org/ns/synapse" name="ListUsersInSeq"> | |
<payloadFactory media-type="xml"> | |
<format> | |
<xsd:listAllUsers xmlns:xsd="http://org.apache.axis2/xsd"> | |
<xsd:filter>$1</xsd:filter> | |
<xsd:limit>$2</xsd:limit> | |
</xsd:listAllUsers> | |
</format> | |
<args> | |
<arg xmlns:m0="http://services.samples" evaluator="xml" expression="$url:filter"/> | |
<arg xmlns:m0="http://services.samples" evaluator="xml" expression="$url:limit"/> | |
</args> | |
</payloadFactory> | |
<property xmlns:ns="http://org.apache.synapse/xsd" name="Authorization" expression="fn:concat('Basic ', base64Encode('admin:admin'))" scope="transport" type="STRING"/> | |
<property name="SOAPAction" value="urn:listAllUsers" scope="transport" type="STRING"/> | |
<property name="HTTP_METHOD" value="POST" scope="axis2" type="STRING"/> | |
<log level="full"/> | |
<send> | |
<endpoint> | |
<address uri="https://localhost:9443/services/UserAdmin" format="soap12"/> | |
</endpoint> | |
</send> | |
</sequence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment