Skip to content

Instantly share code, notes, and snippets.

@survivingwithandroid
Created August 28, 2015 13:17
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 survivingwithandroid/e36b81a2353e276986a5 to your computer and use it in GitHub Desktop.
Save survivingwithandroid/e36b81a2353e276986a5 to your computer and use it in GitHub Desktop.
<proxy name="AndroidService"
transports="https http"
startOnLoad="true"
trace="disable"
statistics="enable">
<description/>
<target>
<inSequence>
<log>
<property name="Message Flow" value="Arduino API"/>
</log>
<send>
<endpoint>
<address uri="http://192.168.1.130"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<payloadFactory media-type="json">
<format> {"temp":$1} </format>
<args>
<arg evaluator="xml" expression="//temp"/>
</args>
</payloadFactory>
<property name="messageType" value="application/json" scope="axis2"/>
<send/>
</outSequence>
</target>
</proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment