Skip to content

Instantly share code, notes, and snippets.

@edgars
Created February 7, 2020 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edgars/2e174e1a508f142676611aa23d85d4d2 to your computer and use it in GitHub Desktop.
Save edgars/2e174e1a508f142676611aa23d85d4d2 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<api context="/hello" name="hello" xmlns="http://ws.apache.org/ns/synapse">
<resource methods="GET" uri-template="/">
<inSequence>
<payloadFactory media-type="xml">
<format>
<resultado xmlns="">
<msg>Processamento feito com sucesso </msg>
</resultado>
</format>
<args/>
</payloadFactory>
<property name="messageType" scope="axis2" type="STRING" value="application/json"/>
<respond/>
</inSequence>
<outSequence/>
<faultSequence/>
</resource>
</api>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment