<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="Service1" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><wsdl:types><xs:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:import namespace="http://schemas.datacontract.org/2004/07/WcfServiceWD"/><xs:element name="userLogin"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="username" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="userLoginResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="userLoginResult" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="userLogout"><xs:complexType><xs:sequence/></xs:complexType></xs:element><xs:element name="userLogoutResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="userLogoutResult" nillable="true" type="xs:boolean"/></xs:sequence></xs:complexType></xs:element><xs:element name="getConsumoAbitazione"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="id_abitazione" type="xs:int"/><xs:element minOccurs="0" name="unixdatetimeinizio" type="xs:int"/><xs:element minOccurs="0" name="unixdatetimefine" type="xs:int"/></xs:sequence></xs:complexType></xs:element><xs:element name="getConsumoAbitazioneResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getConsumoAbitazioneResult" nillable="true" type="q1:ConsumoAbitazione" xmlns:q1="http://schemas.datacontract.org/2004/07/WcfServiceWD"/></xs:sequence></xs:complexType></xs:element><xs:element name="getConsumoDispositivi"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="id_abitazione" type="xs:int"/><xs:element minOccurs="0" name="unixdatetimeinizio" type="xs:int"/><xs:element minOccurs="0" name="unixdatetimefine" type="xs:int"/></xs:sequence></xs:complexType></xs:element><xs:element name="getConsumoDispositiviResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getConsumoDispositiviResult" nillable="true" type="q2:ConsumoAbitazione" xmlns:q2="http://schemas.datacontract.org/2004/07/WcfServiceWD"/></xs:sequence></xs:complexType></xs:element><xs:element name="getRisparmioDispositivi"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="id_abitazione" type="xs:int"/><xs:element minOccurs="0" name="unixdatetimeinizio" type="xs:int"/><xs:element minOccurs="0" name="unixdatetimefine" type="xs:int"/><xs:element minOccurs="0" name="id_dispositivo" type="xs:int"/></xs:sequence></xs:complexType></xs:element><xs:element name="getRisparmioDispositiviResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getRisparmioDispositiviResult" nillable="true" type="q3:RisparmioDispositivi" xmlns:q3="http://schemas.datacontract.org/2004/07/WcfServiceWD"/></xs:sequence></xs:complexType></xs:element><xs:element name="getRisparmioDispositivo"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="id_abitazione" type="xs:int"/><xs:element minOccurs="0" name="id_dispositivo" type="xs:int"/></xs:sequence></xs:complexType></xs:element><xs:element name="getRisparmioDispositivoResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getRisparmioDispositivoResult" nillable="true" type="q4:RisparmioDispositivi" xmlns:q4="http://schemas.datacontract.org/2004/07/WcfServiceWD"/></xs:sequence></xs:complexType></xs:element><xs:element name="getDispositivi"><xs:complexType><xs:sequence/></xs:complexType></xs:element><xs:element name="getDispositiviResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getDispositiviResult" nillable="true" type="q5:ArrayOfDispositiviDecode" xmlns:q5="http://schemas.datacontract.org/2004/07/WcfServiceWD"/></xs:sequence></xs:complexType></xs:element><xs:element name="getConsumoAbitazioneAnnuo"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="id_abitazione" type="xs:int"/><xs:element minOccurs="0" name="anno" type="xs:int"/></xs:sequence></xs:complexType></xs:element><xs:element name="getConsumoAbitazioneAnnuoResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getConsumoAbitazioneAnnuoResult" type="xs:int"/></xs:sequence></xs:complexType></xs:element></xs:schema><xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/"><xs:element name="anyType" nillable="true" type="xs:anyType"/><xs:element name="anyURI" nillable="true" type="xs:anyURI"/><xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/><xs:element name="boolean" nillable="true" type="xs:boolean"/><xs:element name="byte" nillable="true" type="xs:byte"/><xs:element name="dateTime" nillable="true" type="xs:dateTime"/><xs:element name="decimal" nillable="true" type="xs:decimal"/><xs:element name="double" nillable="true" type="xs:double"/><xs:element name="float" nillable="true" type="xs:float"/><xs:element name="int" nillable="true" type="xs:int"/><xs:element name="long" nillable="true" type="xs:long"/><xs:element name="QName" nillable="true" type="xs:QName"/><xs:element name="short" nillable="true" type="xs:short"/><xs:element name="string" nillable="true" type="xs:string"/><xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/><xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/><xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/><xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/><xs:element name="char" nillable="true" type="tns:char"/><xs:simpleType name="char"><xs:restriction base="xs:int"/></xs:simpleType><xs:element name="duration" nillable="true" type="tns:duration"/><xs:simpleType name="duration"><xs:restriction base="xs:duration"><xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/><xs:minInclusive value="-P10675199DT2H48M5.4775808S"/><xs:maxInclusive value="P10675199DT2H48M5.4775807S"/></xs:restriction></xs:simpleType><xs:element name="guid" nillable="true" type="tns:guid"/><xs:simpleType name="guid"><xs:restriction base="xs:string"><xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/></xs:restriction></xs:simpleType><xs:attribute name="FactoryType" type="xs:QName"/><xs:attribute name="Id" type="xs:ID"/><xs:attribute name="Ref" type="xs:IDREF"/></xs:schema><xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WcfServiceWD" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/WcfServiceWD"><xs:complexType name="ConsumoAbitazione"><xs:sequence><xs:element minOccurs="0" name="consumo" nillable="true" type="tns:ArrayOfConsumoOrario"/><xs:element minOccurs="0" name="id_abitazione" type="xs:int"/></xs:sequence></xs:complexType><xs:element name="ConsumoAbitazione" nillable="true" type="tns:ConsumoAbitazione"/><xs:complexType name="ArrayOfConsumoOrario"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="ConsumoOrario" nillable="true" type="tns:ConsumoOrario"/></xs:sequence></xs:complexType><xs:element name="ArrayOfConsumoOrario" nillable="true" type="tns:ArrayOfConsumoOrario"/><xs:complexType name="ConsumoOrario"><xs:sequence><xs:element minOccurs="0" name="consumo" type="xs:double"/><xs:element minOccurs="0" name="id_dispositivo" nillable="true" type="xs:int"/><xs:element minOccurs="0" name="unixdatetime" type="xs:int"/></xs:sequence></xs:complexType><xs:element name="ConsumoOrario" nillable="true" type="tns:ConsumoOrario"/><xs:complexType name="RisparmioDispositivi"><xs:sequence><xs:element minOccurs="0" name="consumo_dispositivo" type="xs:decimal"/><xs:element minOccurs="0" name="id_abitazione" type="xs:int"/><xs:element minOccurs="0" name="id_dispositivo" type="xs:int"/><xs:element minOccurs="0" name="risparmioDispositivi" nillable="true" type="tns:ArrayOfRisparmioDispositivo"/></xs:sequence></xs:complexType><xs:element name="RisparmioDispositivi" nillable="true" type="tns:RisparmioDispositivi"/><xs:complexType name="ArrayOfRisparmioDispositivo"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="RisparmioDispositivo" nillable="true" type="tns:RisparmioDispositivo"/></xs:sequence></xs:complexType><xs:element name="ArrayOfRisparmioDispositivo" nillable="true" type="tns:ArrayOfRisparmioDispositivo"/><xs:complexType name="RisparmioDispositivo"><xs:sequence><xs:element minOccurs="0" name="classe" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="consumo_dispositivo" type="xs:double"/><xs:element minOccurs="0" name="percentuale_risparmio" type="xs:double"/></xs:sequence></xs:complexType><xs:element name="RisparmioDispositivo" nillable="true" type="tns:RisparmioDispositivo"/><xs:complexType name="ArrayOfDispositiviDecode"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="DispositiviDecode" nillable="true" type="tns:DispositiviDecode"/></xs:sequence></xs:complexType><xs:element name="ArrayOfDispositiviDecode" nillable="true" type="tns:ArrayOfDispositiviDecode"/><xs:complexType name="DispositiviDecode"><xs:sequence><xs:element minOccurs="0" name="id_dispositivo" type="xs:int"/><xs:element minOccurs="0" name="nome_dispositivo" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element name="DispositiviDecode" nillable="true" type="tns:DispositiviDecode"/></xs:schema></wsdl:types><wsdl:message name="IService1_userLogin_InputMessage"><wsdl:part name="parameters" element="tns:userLogin"/></wsdl:message><wsdl:message name="IService1_userLogin_OutputMessage"><wsdl:part name="parameters" element="tns:userLoginResponse"/></wsdl:message><wsdl:message name="IService1_userLogout_InputMessage"><wsdl:part name="parameters" element="tns:userLogout"/></wsdl:message><wsdl:message name="IService1_userLogout_OutputMessage"><wsdl:part name="parameters" element="tns:userLogoutResponse"/></wsdl:message><wsdl:message name="IService1_getConsumoAbitazione_InputMessage"><wsdl:part name="parameters" element="tns:getConsumoAbitazione"/></wsdl:message><wsdl:message name="IService1_getConsumoAbitazione_OutputMessage"><wsdl:part name="parameters" element="tns:getConsumoAbitazioneResponse"/></wsdl:message><wsdl:message name="IService1_getConsumoDispositivi_InputMessage"><wsdl:part name="parameters" element="tns:getConsumoDispositivi"/></wsdl:message><wsdl:message name="IService1_getConsumoDispositivi_OutputMessage"><wsdl:part name="parameters" element="tns:getConsumoDispositiviResponse"/></wsdl:message><wsdl:message name="IService1_getRisparmioDispositivi_InputMessage"><wsdl:part name="parameters" element="tns:getRisparmioDispositivi"/></wsdl:message><wsdl:message name="IService1_getRisparmioDispositivi_OutputMessage"><wsdl:part name="parameters" element="tns:getRisparmioDispositiviResponse"/></wsdl:message><wsdl:message name="IService1_getRisparmioDispositivo_InputMessage"><wsdl:part name="parameters" element="tns:getRisparmioDispositivo"/></wsdl:message><wsdl:message name="IService1_getRisparmioDispositivo_OutputMessage"><wsdl:part name="parameters" element="tns:getRisparmioDispositivoResponse"/></wsdl:message><wsdl:message name="IService1_getDispositivi_InputMessage"><wsdl:part name="parameters" element="tns:getDispositivi"/></wsdl:message><wsdl:message name="IService1_getDispositivi_OutputMessage"><wsdl:part name="parameters" element="tns:getDispositiviResponse"/></wsdl:message><wsdl:message name="IService1_getConsumoAbitazioneAnnuo_InputMessage"><wsdl:part name="parameters" element="tns:getConsumoAbitazioneAnnuo"/></wsdl:message><wsdl:message name="IService1_getConsumoAbitazioneAnnuo_OutputMessage"><wsdl:part name="parameters" element="tns:getConsumoAbitazioneAnnuoResponse"/></wsdl:message><wsdl:portType name="IService1"><wsdl:operation name="userLogin"><wsdl:input wsaw:Action="http://tempuri.org/IService1/userLogin" message="tns:IService1_userLogin_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/userLoginResponse" message="tns:IService1_userLogin_OutputMessage"/></wsdl:operation><wsdl:operation name="userLogout"><wsdl:input wsaw:Action="http://tempuri.org/IService1/userLogout" message="tns:IService1_userLogout_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/userLogoutResponse" message="tns:IService1_userLogout_OutputMessage"/></wsdl:operation><wsdl:operation name="getConsumoAbitazione"><wsdl:input wsaw:Action="http://tempuri.org/IService1/getConsumoAbitazione" message="tns:IService1_getConsumoAbitazione_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/getConsumoAbitazioneResponse" message="tns:IService1_getConsumoAbitazione_OutputMessage"/></wsdl:operation><wsdl:operation name="getConsumoDispositivi"><wsdl:input wsaw:Action="http://tempuri.org/IService1/getConsumoDispositivi" message="tns:IService1_getConsumoDispositivi_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/getConsumoDispositiviResponse" message="tns:IService1_getConsumoDispositivi_OutputMessage"/></wsdl:operation><wsdl:operation name="getRisparmioDispositivi"><wsdl:input wsaw:Action="http://tempuri.org/IService1/getRisparmioDispositivi" message="tns:IService1_getRisparmioDispositivi_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/getRisparmioDispositiviResponse" message="tns:IService1_getRisparmioDispositivi_OutputMessage"/></wsdl:operation><wsdl:operation name="getRisparmioDispositivo"><wsdl:input wsaw:Action="http://tempuri.org/IService1/getRisparmioDispositivo" message="tns:IService1_getRisparmioDispositivo_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/getRisparmioDispositivoResponse" message="tns:IService1_getRisparmioDispositivo_OutputMessage"/></wsdl:operation><wsdl:operation name="getDispositivi"><wsdl:input wsaw:Action="http://tempuri.org/IService1/getDispositivi" message="tns:IService1_getDispositivi_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/getDispositiviResponse" message="tns:IService1_getDispositivi_OutputMessage"/></wsdl:operation><wsdl:operation name="getConsumoAbitazioneAnnuo"><wsdl:input wsaw:Action="http://tempuri.org/IService1/getConsumoAbitazioneAnnuo" message="tns:IService1_getConsumoAbitazioneAnnuo_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IService1/getConsumoAbitazioneAnnuoResponse" message="tns:IService1_getConsumoAbitazioneAnnuo_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:service name="Service1"/></wsdl:definitions>