<?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 name="propertyDoubleAxis2ClientTestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="DoubleVal" value="123123.123123"  scope="axis2-client" type="DOUBLE" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:DoubleVal" />
                </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:DoubleVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy name="propertyIntAxis2ClientTestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="IntVal" value="123"  scope="axis2-client" type="INTEGER" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:IntVal" />
                </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:IntVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy name="propertyStringAxis2ClientTestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="StringVal" value="WSO2 Lanka"  scope="axis2-client" type="STRING" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:StringVal" />
                </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:StringVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy name="propertyBooleanAxis2ClientTestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="BooleanVal" value="TRUE"  scope="axis2-client" type="BOOLEAN" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:BooleanVal" />
                </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:BooleanVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy name="propertyFloatAxis2ClientTestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="FloatVal" value="123.123"  scope="axis2-client" type="FLOAT" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:FloatVal" />
                </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:FloatVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
    <proxy name="propertyShortAxis2ClientTestProxy" transports="http,https">
        <target>
            <inSequence>
                <property xmlns="http://ws.apache.org/ns/synapse" name="ShortVal" value="12"  scope="axis2-client" type="SHORT" />
                <log level="custom">
                    <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="symbol" expression="$axis2:ShortVal" />
                </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:ShortVal"/>
                    </args>
                </payloadFactory>
                <respond />
            </inSequence>
        </target>
    </proxy>
</definitions>