<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="ConsultaLicencaServico" targetNamespace="http://www.senior.com.br/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://www.senior.com.br/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<wsp:Policy wsu:Id="BasicHttpBinding_IConsultaLicenca_policy">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<wsp:Policy>
						<sp:TransportToken>
							<wsp:Policy>
								<sp:HttpsToken RequireClientCertificate="false"/>
							</wsp:Policy>
						</sp:TransportToken>
						<sp:AlgorithmSuite>
							<wsp:Policy>
								<sp:Basic256/>
							</wsp:Policy>
						</sp:AlgorithmSuite>
						<sp:Layout>
							<wsp:Policy>
								<sp:Strict/>
							</wsp:Policy>
						</sp:Layout>
					</wsp:Policy>
				</sp:TransportBinding>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>
	<wsdl:types>
		<xs:schema elementFormDefault="qualified" targetNamespace="http://www.senior.com.br/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
			<xs:import namespace="http://schemas.datacontract.org/2004/07/Senior.Scp.DataAccess.Serializacao.WebService"/>
			<xs:element name="Consultar">
				<xs:complexType>
					<xs:sequence>
						<xs:element minOccurs="0" name="hashClientes" nillable="true" type="q1:ArrayOfDadosClienteConsulta" xmlns:q1="http://schemas.datacontract.org/2004/07/Senior.Scp.DataAccess.Serializacao.WebService"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ConsultarResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element minOccurs="0" name="ConsultarResult" nillable="true" type="xs:string"/>
					</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/Senior.Scp.DataAccess.Serializacao.WebService" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/Senior.Scp.DataAccess.Serializacao.WebService">
			<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
			<xs:complexType name="ArrayOfDadosClienteConsulta">
				<xs:sequence>
					<xs:element minOccurs="0" maxOccurs="unbounded" name="DadosClienteConsulta" nillable="true" type="tns:DadosClienteConsulta"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="ArrayOfDadosClienteConsulta" nillable="true" type="tns:ArrayOfDadosClienteConsulta"/>
			<xs:complexType name="DadosClienteConsulta">
				<xs:sequence>
					<xs:element minOccurs="0" name="DataHora" type="xs:dateTime"/>
					<xs:element minOccurs="0" name="Emissoes" nillable="true" type="tns:ContagemEmissoes"/>
					<xs:element minOccurs="0" name="HashCliente" nillable="true" type="xs:string"/>
					<xs:element minOccurs="0" name="InformacoesAdicionais" nillable="true" type="tns:InformacaoAdicional"/>
					<xs:element minOccurs="0" name="Sats" nillable="true" type="q1:ArrayOflong" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
					<xs:element minOccurs="0" name="Versao" nillable="true" type="xs:string"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="DadosClienteConsulta" nillable="true" type="tns:DadosClienteConsulta"/>
			<xs:complexType name="ContagemEmissoes">
				<xs:annotation>
					<xs:appinfo>
						<IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
					</xs:appinfo>
				</xs:annotation>
				<xs:sequence>
					<xs:element minOccurs="0" maxOccurs="unbounded" name="Contador">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="TipoDocumento" type="xs:int"/>
								<xs:element name="Valor" type="xs:long"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="ContagemEmissoes" nillable="true" type="tns:ContagemEmissoes"/>
			<xs:complexType name="InformacaoAdicional">
				<xs:annotation>
					<xs:appinfo>
						<IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
					</xs:appinfo>
				</xs:annotation>
				<xs:sequence>
					<xs:element minOccurs="0" maxOccurs="unbounded" name="Informacao">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="Chave" nillable="true" type="xs:string"/>
								<xs:element name="Valor" nillable="true" type="xs:string"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="InformacaoAdicional" nillable="true" type="tns:InformacaoAdicional"/>
		</xs:schema>
		<xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
			<xs:complexType name="ArrayOflong">
				<xs:sequence>
					<xs:element minOccurs="0" maxOccurs="unbounded" name="long" type="xs:long"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="ArrayOflong" nillable="true" type="tns:ArrayOflong"/>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="IConsultaLicenca_Consultar_InputMessage">
		<wsdl:part name="parameters" element="tns:Consultar"/>
	</wsdl:message>
	<wsdl:message name="IConsultaLicenca_Consultar_OutputMessage">
		<wsdl:part name="parameters" element="tns:ConsultarResponse"/>
	</wsdl:message>
	<wsdl:portType name="IConsultaLicenca">
		<wsdl:operation name="Consultar">
			<wsdl:input wsaw:Action="http://www.senior.com.br/IConsultaLicenca/Consultar" message="tns:IConsultaLicenca_Consultar_InputMessage"/>
			<wsdl:output wsaw:Action="http://www.senior.com.br/IConsultaLicenca/ConsultarResponse" message="tns:IConsultaLicenca_Consultar_OutputMessage"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="BasicHttpBinding_IConsultaLicenca" type="tns:IConsultaLicenca">
		<wsp:PolicyReference URI="#BasicHttpBinding_IConsultaLicenca_policy"/>
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="Consultar">
			<soap:operation soapAction="http://www.senior.com.br/IConsultaLicenca/Consultar" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="ConsultaLicencaServico">
		<wsdl:port name="BasicHttpBinding_IConsultaLicenca" binding="tns:BasicHttpBinding_IConsultaLicenca">
			<soap:address location="https://licenciamento.senior.com.br:8988/Licenca/Consulta"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>