<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                  xmlns:xs="http://www.w3.org/2001/XMLSchema"
                  targetNamespace="http://org.example.order"
                  xmlns:tns="http://org.example.order">

    <wsdl:types>
        <xs:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://org.example.order">
			<xs:element name="testElement" >
				<xs:complexType>
					<xs:sequence>
						<xs:element name="indice" type="xs:int" />
						<xs:element name="info" type="xs:string" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
        </xs:schema>
    </wsdl:types>

    <wsdl:message name="testMsg">
        <wsdl:part name="detail" element="tns:testElement"/>
    </wsdl:message>

    <wsdl:portType name="testPortType">
        <wsdl:operation name="test">
            <wsdl:input message="tns:testMsg"/>
        </wsdl:operation>
    </wsdl:portType>
 
 
    <wsdl:binding name="testBinding" type="tns:testPortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="test">
            <soap:operation soapAction="test" style="document"/>
            <wsdl:input>
                <soap:body parts="detail" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
    </wsdl:binding>


    <wsdl:service name="testService">
        <wsdl:port name="testPort" binding="tns:testBinding">
            <soap:address location="http://localhost/test"/>
        </wsdl:port>
    </wsdl:service>
  
</wsdl:definitions>