<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~  Copyright (c) 2017, WSO2 Inc. (http://wso2.com) All Rights Reserved.
  ~
  ~  WSO2 Inc. licenses this file to you under the Apache License,
  ~  Version 2.0 (the "License"); you may not use this file except
  ~  in compliance with the License.
  ~  You may obtain a copy of the License at
  ~
  ~    http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~  Unless required by applicable law or agreed to in writing,
  ~  software distributed under the License is distributed on an
  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~  KIND, either express or implied.  See the License for the
  ~  specific language governing permissions and limitations
  ~  under the License.
  ~
  -->

<definitions xmlns="http://ws.apache.org/ns/synapse">
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyDoubleAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2DoubleVal" value="123123.123123"  scope="axis2" type="DOUBLE" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2DoubleVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2DoubleVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyIntAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2IntVal" value="123"  scope="axis2" type="INTEGER" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2IntVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2IntVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyStringAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2StringVal" value="WSO2 Lanka"  scope="axis2" type="STRING" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2StringVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2StringVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyBooleanAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2BooleanVal" value="TRUE"  scope="axis2" type="BOOLEAN" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2BooleanVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2BooleanVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyFloatAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2FloatVal" value="123.123"  scope="axis2" type="FLOAT" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2FloatVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2FloatVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyLongAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2LongVal" value="123123123"  scope="axis2" type="LONG" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2LongVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2LongVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyShortAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2ShortVal" value="12"  scope="axis2" type="SHORT" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2ShortVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2ShortVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy xmlns="http://ws.apache.org/ns/synapse" name="propertyOMAxis2TestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="Axis2OMVal" scope="axis2" type="OM">
                    <xmll222 xmlns="">OMMMMM</xmll222>
                </property>
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:Axis2OMVal" />
                </log>
                <payloadFactory media-type="xml">
                    <format>
                        <m:symbol xmlns:m="http://services.samples">$1</m:symbol>
                    </format>
                    <args>
                        <arg xmlns:m0="http://services.samples" expression="$axis2:Axis2OMVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
</definitions>