<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://insiel.it/protocollo/schemixsd/downloadDocumento" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:tgen="http://insiel.it/protocollo/schemixsd/tipiGenerali" 
targetNamespace="http://insiel.it/protocollo/schemixsd/downloadDocumento" 
elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://insiel.it/protocollo/schemixsd/tipiGenerali" schemaLocation="tipiGenerali.xsd"/>
	<xs:element name="DownloadDocumentoRequest">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="utente" type="tgen:Utente"/>
				<xs:element name="registrazione" type="tgen:ProtocolloRequest" minOccurs="0"/>
				<xs:element name="idDoc" type="xs:long"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DownloadDocumentoResponse">
		<xs:complexType>
			<xs:choice>
				<xs:element name="documento" type="tgen:DettaglioAllegato"/>
				<xs:element name="errore" type="tgen:Errore"/>
			</xs:choice>
			<xs:attribute name="esito" type="xs:boolean" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>