<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:spring="http://www.springframework.org/schema/beans"
       xmlns:http="http://www.mulesource.org/schema/mule/http/2.0"
       xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.0"
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
       http://www.mulesource.org/schema/mule/vm/2.0 http://www.mulesource.org/schema/mule/vm/2.0/mule-vm.xsd
       http://www.mulesource.org/schema/mule/http/2.0 http://www.mulesource.org/schema/mule/http/2.0/mule-http.xsd">

    <model name="REST Functional TestCase">

        <service name="RESTServiceWrapper1">
            <inbound>
                <inbound-endpoint address="vm://in1"/>
            </inbound>
            <http:rest-service-component
                    serviceUrl="http://www.webservicex.net/stockquote.asmx/GetQuote"
                    httpMethod="POST">
                <http:payloadParameterName value="symbol"/>
            </http:rest-service-component>
        </service>

        <service name="RESTServiceWrapper2">
            <inbound>
                <inbound-endpoint address="vm://in2"/>
            </inbound>
            <http:rest-service-component
                    serviceUrl="http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate"
                    httpMethod="POST">
                <http:payloadParameterName value="FromCurrency"/>
                <http:payloadParameterName value="ToCurrency"/>
            </http:rest-service-component>
        </service>

        <service name="RESTServiceWrapper3">
            <inbound>
                <inbound-endpoint address="vm://in3"/>
            </inbound>
            <http:rest-service-component
                    serviceUrl="http://www.webservicex.net/stockquote.asmx/GetQuote"
                    httpMethod="GET">
                <http:payloadParameterName value="symbol"/>
            </http:rest-service-component>
        </service>

        <service name="RESTServiceWrapper4">
            <inbound>
                <inbound-endpoint address="vm://in4"/>
            </inbound>
            <http:rest-service-component
                    serviceUrl="http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate"
                    httpMethod="GET">
                <http:payloadParameterName value="FromCurrency"/>
                <http:payloadParameterName value="ToCurrency"/>
            </http:rest-service-component>
        </service>
    </model>
</mule>
