<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:AnaWSSInterrogazioniPrato" xmlns:impl="urn:AnaWSSInterrogazioniPrato" xmlns:intf="urn:AnaWSSInterrogazioniPrato" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns2="http://types.AnaWSSInterrogazioniPrato.impl.webservices.sm_anagrafe.pubblici.saga.it" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
 <wsdl:types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://types.AnaWSSInterrogazioniPrato.impl.webservices.sm_anagrafe.pubblici.saga.it">
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="AuthType">
    <sequence>
     <element name="idOperatore" nillable="true" type="xsd:string"/>
     <element name="idSistema" nillable="true" type="xsd:string"/>
     <element name="idLogin" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="_GetSoggettiRequest">
    <sequence>
     <element name="auth" nillable="true" type="tns2:AuthType"/>
     <element name="cognome" nillable="true" type="xsd:string"/>
     <element name="nome" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="numeroOmonimi" type="xsd:int"/>
     <element name="flgTipo" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="SoggettoBaseType">
    <sequence>
     <element name="codiceIndividuale" nillable="true" type="xsd:string"/>
     <element name="numeroFamiglia" type="xsd:int"/>
     <element name="codiceFiscale" nillable="true" type="xsd:string"/>
     <element name="cognome" nillable="true" type="xsd:string"/>
     <element name="nome" nillable="true" type="xsd:string"/>
     <element name="dataNascita" nillable="true" type="xsd:string"/>
     <element name="codComuneNascita" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="comuneNascita" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="belfioreComuneNascita" nillable="true" type="xsd:string"/>
     <element name="codParentela" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="parentela" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="flgStato" nillable="true" type="xsd:string"/>
     <element name="sesso" nillable="true" type="xsd:string"/>
     <element name="flgConvivenza" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="_GetSoggettiResponse">
    <sequence>
     <element name="esito" nillable="true" type="xsd:string"/>
     <element name="messaggio" nillable="true" type="xsd:string"/>
     <element name="soggetti" nillable="true" minOccurs="0" maxOccurs="unbounded" type="tns2:SoggettoBaseType"/>
    </sequence>
   </complexType>
   <complexType name="_GetSoggettoRequest">
    <sequence>
     <element name="auth" nillable="true" type="tns2:AuthType"/>
     <element name="codiceFiscale" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="codiceIndividuale" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:int"/>
    </sequence>
   </complexType>
   <complexType name="NascitaType">
    <sequence>
     <element name="cognomePadre" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="nomePadre" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="cognomeMadre" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="nomeMadre" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="codStatoNascita" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="statoNascita" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="IndirizzoType">
    <sequence>
     <element name="flgTipo" nillable="true" type="xsd:string"/>
     <element name="codComune" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="comune" nillable="true" type="xsd:string"/>
     <element name="belfioreComune" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="siglaProvincia" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="cap" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="codStato" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="stato" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="codVia" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="via" nillable="true" type="xsd:string"/>
     <element name="civico" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="lettera" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="corte" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="scala" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="piano" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="interno" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="idTopo" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="indirizzo" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="StatoCivileType">
    <sequence>
     <element name="codStatoCivile" nillable="true" type="xsd:string"/>
     <element name="cognomeConiuge" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="nomeConiuge" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="data" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="codComune" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="comune" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="stato" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="codStato" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="AltriDatiType">
    <sequence>
     <element name="dataImmigrazione" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="dataEmigrazione" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="dataMorte" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="professione" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="titoloStudio" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="codCittadinanza" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
     <element name="cittadinanza" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="DocumentoType">
    <sequence>
     <element name="tipo" nillable="true" type="xsd:string"/>
     <element name="dataRilasio" nillable="true" type="xsd:string"/>
     <element name="dataScadenza" nillable="true" type="xsd:string"/>
     <element name="ente" nillable="true" type="xsd:string"/>
     <element name="numero" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="SoggettoType">
    <sequence>
     <element name="soggettoBase" nillable="true" type="tns2:SoggettoBaseType"/>
     <element name="nascita" nillable="true" minOccurs="0" maxOccurs="1" type="tns2:NascitaType"/>
     <element name="indirizzi" nillable="true" minOccurs="0" maxOccurs="unbounded" type="tns2:IndirizzoType"/>
     <element name="statoCivile" nillable="true" minOccurs="0" maxOccurs="1" type="tns2:StatoCivileType"/>
     <element name="altriDati" nillable="true" minOccurs="0" maxOccurs="1" type="tns2:AltriDatiType"/>
     <element name="documenti" nillable="true" minOccurs="0" maxOccurs="unbounded" type="tns2:DocumentoType"/>
    </sequence>
   </complexType>
   <complexType name="_GetSoggettoResponse">
    <sequence>
     <element name="esito" nillable="true" type="xsd:string"/>
     <element name="messaggio" nillable="true" type="xsd:string"/>
     <element name="soggetto" nillable="true" minOccurs="0" maxOccurs="1" type="tns2:SoggettoType"/>
    </sequence>
   </complexType>
   <complexType name="_GetFamigliaRequest">
    <sequence>
     <element name="auth" nillable="true" type="tns2:AuthType"/>
     <element name="numeroFamiglia" type="xsd:int"/>
    </sequence>
   </complexType>
   <complexType name="FamigliaType">
    <sequence>
     <element name="flgTipo" nillable="true" type="xsd:string"/>
     <element name="residenza" nillable="true" type="tns2:IndirizzoType"/>
     <element name="componenti" nillable="true" type="tns2:SoggettoBaseType" maxOccurs="unbounded"/>
    </sequence>
   </complexType>
   <complexType name="_GetFamigliaResponse">
    <sequence>
     <element name="esito" nillable="true" type="xsd:string"/>
     <element name="messaggio" nillable="true" type="xsd:string"/>
     <element name="famiglia" nillable="true" minOccurs="0" maxOccurs="1" type="tns2:FamigliaType"/>
    </sequence>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="getSoggettoResponse">

      <wsdl:part name="getSoggettoReturn" type="tns2:_GetSoggettoResponse"/>

   </wsdl:message>

   <wsdl:message name="getSoggettiResponse">

      <wsdl:part name="getSoggettiReturn" type="tns2:_GetSoggettiResponse"/>

   </wsdl:message>

   <wsdl:message name="getSoggettiRequest">

      <wsdl:part name="soggettiRequest" type="tns2:_GetSoggettiRequest"/>

   </wsdl:message>

   <wsdl:message name="getSoggettoRequest">

      <wsdl:part name="soggettoRequest" type="tns2:_GetSoggettoRequest"/>

   </wsdl:message>

   <wsdl:message name="getFamigliaRequest">

      <wsdl:part name="famigliaRequest" type="tns2:_GetFamigliaRequest"/>

   </wsdl:message>

   <wsdl:message name="getFamigliaResponse">

      <wsdl:part name="getFamigliaReturn" type="tns2:_GetFamigliaResponse"/>

   </wsdl:message>

   <wsdl:portType name="AnaWSSInterrogazioniPrato">

      <wsdl:operation name="getSoggetti" parameterOrder="soggettiRequest">

         <wsdl:input name="getSoggettiRequest" message="impl:getSoggettiRequest"/>

         <wsdl:output name="getSoggettiResponse" message="impl:getSoggettiResponse"/>

      </wsdl:operation>

      <wsdl:operation name="getSoggetto" parameterOrder="soggettoRequest">

         <wsdl:input name="getSoggettoRequest" message="impl:getSoggettoRequest"/>

         <wsdl:output name="getSoggettoResponse" message="impl:getSoggettoResponse"/>

      </wsdl:operation>

      <wsdl:operation name="getFamiglia" parameterOrder="famigliaRequest">

         <wsdl:input name="getFamigliaRequest" message="impl:getFamigliaRequest"/>

         <wsdl:output name="getFamigliaResponse" message="impl:getFamigliaResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="AnaWSSInterrogazioniPratoSoapBinding" type="impl:AnaWSSInterrogazioniPrato">

      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="getSoggetti">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getSoggettiRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AnaWSSInterrogazioniPrato"/>

         </wsdl:input>

         <wsdl:output name="getSoggettiResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AnaWSSInterrogazioniPrato"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getSoggetto">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getSoggettoRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AnaWSSInterrogazioniPrato"/>

         </wsdl:input>

         <wsdl:output name="getSoggettoResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AnaWSSInterrogazioniPrato"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getFamiglia">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getFamigliaRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AnaWSSInterrogazioniPrato"/>

         </wsdl:input>

         <wsdl:output name="getFamigliaResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:AnaWSSInterrogazioniPrato"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="AnaWSSInterrogazioniPratoService">

      <wsdl:port name="AnaWSSInterrogazioniPrato" binding="impl:AnaWSSInterrogazioniPratoSoapBinding">

         <wsdlsoap:address location="http://localhost:8080/client/services/AnaWSSInterrogazioniPrato"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>