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

    <axis:connector name="axisConnector" doAutoTypes="false">
        <axis:bean-type interface="org.mule.test.usecases.axis.clientbridge.ComplexData"/>
    </axis:connector>

    <model name="main">
        <service name="test">
            <inbound>
                <inbound-endpoint address="vm://complexRequest" synchronous="true"/>
                <forwarding-router/>
            </inbound>
            <outbound>
                <outbound-pass-through-router>
                    <outbound-endpoint address="axis:http://localhost:8002/axisService/doSomeWork?method=executeComplexity"/>
                </outbound-pass-through-router>
            </outbound>
        </service>

        <service name="doSomeWork">
            <inbound>
                <inbound-endpoint address="axis:http://localhost:8002/axisService"/>
            </inbound>
            <component class="org.mule.test.usecases.axis.clientbridge.DoSomeWork"/>
        </service>
    </model>
</mule>
