<?xml version="1.0"?>
<definitions name="Persone"

targetNamespace="http://persone.ba/persone.wsdl"
          xmlns:tns="http://persone.ba/persone.wsdl"
          xmlns:xsd1="http://persone.ba/persone.xsd"
          xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
          xmlns="http://schemas.xmlsoap.org/wsdl/">

  <types>
     <schema targetNamespace="http://persone.ba/persone.xsd"
            xmlns="http://www.w3.org/2000/10/XMLSchema">
         <element name="ListaRequest">
            <complexType>
                <all>
                    <element name="richiesta" type="string"/>
                </all>
            </complexType>
         </element>
         <element name="ListaResponse">
            <complexType>
                <all>
     <element name="persone">
      <complexType>
        <sequence>
          <element name="persona" minOccurs="0" maxOccurs="unbounded">
            <complexType>
              <sequence>
                <element name="cognome" type="string"/>
                <element name="nome" type="string"/>
                <element name="tel" type="string"/>
                <element name="email" type="string"/>
                <element name="homepage" type="string"/>
                </sequence>
            </complexType>
          </element>
        </sequence>
      </complexType>
    </element>
                </all>
            </complexType>
         </element>
     </schema>
  </types>

  <message name="ListaPersoneInput">
      <part name="body" element="xsd1:ListaRequest"/>
  </message>

  <message name="ListaPersoneOutput">
      <part name="body" element="xsd1:ListaResponse"/>
  </message>

  <portType name="PersonePortType">
      <operation name="GetLista">
         <input message="tns:ListaPersoneInput"/>
         <output message="tns:ListaPersoneOutput"/>
      </operation>
  </portType>

  <binding name="PersoneSoapBinding" type="tns:PersonePortType">
      <soap:binding style="document"
        transport="http://schemas.xmlsoap.org/soap/http"/>
      <operation name="GetLista">
         <soap:operation soapAction="http://persone.com/GetLista"/>
         <input>
             <soap:body use="literal"/>
         </input>
         <output>
             <soap:body use="literal"/>
         </output>
      </operation>
  </binding>

  <service name="PersoneService">
      <documentation>Elenco telefonico Dipartimento di Fisica </documentation>
      <port name="persone" binding="tns:PersoneSoapBinding">
         <soap:address location="http://persone.ba/persone"/>
      </port>
  </service>

</definitions>

