<?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:client="http://www.mulesource.org/schema/mule/client/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/client/2.0 http://www.mulesource.org/schema/mule/client/2.0/mule-client.xsd
       http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd">

    <client:remote-dispatcher-agent>
        <client:remote-endpoint ref="remoteEndpoint"/>
        <client:xml-wire-format/>
    </client:remote-dispatcher-agent>

    <endpoint name="remoteEndpoint" address="tcp://localhost:38100" synchronous="true"/>

    <model name="test">
        <service name="mycomponent">
            <inbound>
                <inbound-endpoint address="axis:http://localhost:38103/mule/services"/>
            </inbound>
            <component>
                <singleton-object class="org.mule.tck.testmodels.services.TestServiceComponent"/>
            </component>
        </service>

        <service name="mycomponent2">
            <inbound>
                <inbound-endpoint address="axis:http://localhost:38104/mule/services"/>
            </inbound>
            <component>
                <singleton-object class="org.mule.tck.testmodels.services.TestServiceComponent">
                    <property key="serviceInterfaces" value="org.mule.api.component.simple.EchoService"/>
                </singleton-object>
            </component>
        </service>

        <service name="mycomponent3">
            <inbound>
                <inbound-endpoint address="axis:http://localhost:38104/mule/services"/>
            </inbound>
            <component>
                <singleton-object class="org.mule.tck.testmodels.services.TestServiceComponent"/>
            </component>
        </service>
    </model>
</mule>
