Created
October 16, 2012 08:01
-
-
Save wattsm/3897921 to your computer and use it in GitHub Desktop.
Example header mapping
This file contains hidden or 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
<mappings xmlns='http://www.tribalgroup.com/switchboard/header-mapping.xsd'> | |
<mapping name='example'> | |
<header name='LocationCode'> | |
<settings for='Inst-01'> | |
<add key='URL' value='http://inst-01/' /> | |
</settings> | |
<settings for='Inst-02'> | |
<add key='URL' value='http://inst-02/' /> | |
</settings> | |
</header> | |
<header name='Operation'> | |
<settings for='OP-1'> | |
<add key='Content-Type' value='text/xml' /> | |
<add key='Method' value='POST' /> | |
</settings> | |
<settings for='OP-2'> | |
<add key='Content-Type' value='application/json' /> | |
<add key='Method' value='PUT' /> | |
</settings> | |
</header> | |
</mapping> | |
</mappings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment