<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2011 (http://www.altova.com) by Christian Sifaqui (Biblioteca del Congreso Nacional de Chile) -->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.leychile.cl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.leychile.cl/">
	<types>
		<s:schema targetNamespace="http://www.leychile.cl/" elementFormDefault="qualified">
			<s:element name="getNorma">
				<s:complexType>
					<s:sequence>
						<s:element name="idNorma" type="s:int" minOccurs="0" maxOccurs="1"/>
						<s:element name="idLey" type="s:int" minOccurs="0" maxOccurs="1"/>
						<s:element name="fechaVersion" type="s:string" minOccurs="0"/>
						<s:element name="swNotas" type="tns:TiposNota" minOccurs="0" maxOccurs="1"/>
						<s:element name="swNotasPie" type="tns:TiposNota" minOccurs="0"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:simpleType name="TiposNota">
				<s:restriction base="s:string">
					<s:enumeration value="conNotas"/>
					<s:enumeration value="sinNotas"/>
				</s:restriction>
			</s:simpleType>
			<s:element name="getNormaResponse">
				<s:complexType>
					<s:sequence>
						<s:element name="getNormaResult" type="s:string" minOccurs="0" maxOccurs="1"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="getParteResponse">
				<s:complexType>
					<s:sequence>
						<s:element name="getParteResult" type="s:string" minOccurs="0" maxOccurs="1"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="listaPartesResponse">
				<s:complexType>
					<s:sequence>
						<s:element name="listaPartesResult" type="s:string" minOccurs="0" maxOccurs="1"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="string" type="s:string" nillable="true"/>
			<s:element name="getParte">
				<s:complexType>
					<s:sequence>
						<s:element name="idNorma" type="s:int" minOccurs="0" maxOccurs="1"/>
						<s:element name="idLey" type="s:int" minOccurs="0" maxOccurs="1"/>
						<s:element name="idParte" type="s:int"/>
						<s:element name="fechaVersion" type="s:string" minOccurs="0"/>
						<s:element name="swNotas" type="tns:TiposNota" minOccurs="0" maxOccurs="1"/>
						<s:element name="swNotasPie" type="tns:TiposNota" minOccurs="0"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="listaPartes">
				<s:complexType>
					<s:sequence>
						<s:element name="idNorma" type="s:int" minOccurs="0" maxOccurs="1"/>
						<s:element name="idLey" type="s:int" minOccurs="0" maxOccurs="1"/>
						<s:element name="fechaVersion" type="s:string" minOccurs="0"/>
					</s:sequence>
				</s:complexType>
			</s:element>
		</s:schema>
	</types>
	<message name="getNormaSoapIn">
		<part name="parameters" element="tns:getNorma"/>
	</message>
	<message name="getNormaSoapOut">
		<part name="salida" element="tns:getNormaResponse"/>
	</message>
	<message name="getParteSoapIn">
		<part name="parameters" element="tns:getParte"/>
	</message>
	<message name="getParteSoapOut">
		<part name="salida" element="tns:getParteResponse"/>
	</message>
	<message name="listaPartesSoapIn">
		<part name="parameters" element="tns:listaPartes"/>
	</message>
	<message name="listaPartesSoapOut">
		<part name="salida" element="tns:listaPartesResponse"/>
	</message>
	<message name="NewMessage"/>
	<message name="NewMessage2"/>
	<portType name="LeyChileSoap">
		<operation name="getNorma" parameterOrder="parameters">
			<documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Entrega XML de Intercambio para un idNorma</documentation>
			<input message="tns:getNormaSoapIn"/>
			<output message="tns:getNormaSoapOut"/>
		</operation>
		<operation name="getParte" parameterOrder="parameters">
			<input message="tns:getParteSoapIn"/>
			<output message="tns:getParteSoapOut"/>
		</operation>
		<operation name="listaPartes">
			<input message="tns:listaPartesSoapIn"/>
			<output message="tns:listaPartesSoapOut"/>
		</operation>
	</portType>
	<binding name="LeyChileSoap" type="tns:LeyChileSoap">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="getNorma">
			<soap:operation soapAction="http://www.leychile.cl/ws/getNorma" style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="getParte">
			<soap:operation soapAction="http://www.leychile.cl/ws/getParte"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
		<operation name="listaPartes">
			<soap:operation soapAction="http://www.leychile.cl/ws/listaPartes" style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
	</binding>
	<service name="LeyChile">
		<port name="LeyChileSoap" binding="tns:LeyChileSoap">
			<soap:address location="http://www.leychile.cl/ws"/>
		</port>
	</service>
</definitions>

