<?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">

    <spring:bean name="mockEngineConfig" class="org.mule.transport.soap.axis.mock.MockEngineConfiguration"/>
    <spring:bean name="axisServer" class="org.mule.transport.soap.axis.mock.MockAxisServer">
        <spring:constructor-arg ref="mockEngineConfig"/>
    </spring:bean>
    <spring:bean name="mockProvider" class="org.mule.transport.soap.axis.mock.MockProvider"/>

    <axis:connector name="axisConnector" clientConfig="test-axis-config.wsdd" doAutoTypes="false"
                    serverConfig="test-axis-config.wsdd" treatMapAsNamedParams="false">
        <axis:bean-type interface="org.mule.tck.testmodels.fruit.Apple"/>
        <axis:bean-type interface="org.mule.tck.testmodels.fruit.Banana"/>
        <axis:supported-scheme value="http"/>
    </axis:connector>

    <axis:connector name="axisConnector2" axis-ref="axisServer" clientProvider-ref="mockProvider"
                    serverProvider-ref="mockProvider"/>

    <axis:endpoint name="endpoint"
                   clientConfig="clientConfig"
                   address="http://www.webservicex.net/stockquote.asmx?method=GetQuote"
                   connector-ref="axisConnector2"
                   soapAction="[methodNamespace][method]"
                   SOAPAction="direct"
                   style="DOCUMENT"
                   use="ENCODED"
                   serviceNamespace="http://foo.namespace">
        <axis:options allowedMethods="echo,getdate"
                      scope="Application"
                      wsdlPortType="wsdlPortType"
                      wsdlServiceElement="wsdlServiceElement"
                      wsdlTargetNamespace="wsdlTargetNamespace"
                      wsdlInputSchema="wsdlInputSchema"
                      wsdlSoapActionMode="wsdlSoapActionMode"
                      extraClasses="extraClasses">
            <axis:option key="key1" value="value1"/>
            <axis:option key="key2" value="value2"/>
        </axis:options>
        <axis:bean-type interface="bean1"/>
        <axis:bean-type interface="bean2"/>
        <axis:soap-service interface="class1"/>
        <axis:soap-service interface="class2"/>
        <axis:soap-method method="method1">
            <axis:soap-parameter parameter="symbol" type="string" mode="IN"/>
            <axis:soap-parameter parameter="GetQuoteResult" type="string" mode="OUT"/>
            <axis:soap-return type="string"/>
        </axis:soap-method>
        <axis:soap-method method="method2">
            <axis:soap-parameter parameter="param" type="string" mode="IN"/>
        </axis:soap-method>
        <property key="key1" value="value1"/>
        <properties>
            <spring:entry key="key2" value="value2"/>
            <spring:entry key="soapMethods">
                <spring:map>
                    <spring:entry key="method2">
                        <spring:list>
                            <spring:value>addedFromSpring;string;in</spring:value>
                        </spring:list>
                    </spring:entry>
                </spring:map>
            </spring:entry>
        </properties>
    </axis:endpoint>
    
</mule>