<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by Miguel (Valles) -->
<!-- edited with XML Spy v5 beta 4 U (http://www.xmlspy.com) by Alexander Falk (Altova, Inc.) -->
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.organismo.es/RegistroElectronico/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns="http://schemas.xmlsoap.org/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:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" targetNamespace="http://www.organismo.es/RegistroElectronico/">
	<types>
		<s:schema elementFormDefault="qualified" targetNamespace="http://www.organismo.es/RegistroElectronico/">
			<s:element name="peticionApunteRegistro">
				<s:complexType>
					<s:sequence>
						<s:element name="cdOficinaRegistro">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="10"/>
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="tipoAsiento">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:enumeration value="E"/>
									<s:enumeration value="e"/>
									<s:enumeration value="S"/>
									<s:enumeration value="s"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="cdOrgOrigen">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="10"/>
									<s:minLength value="0"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="daOrgOrigen" type="s:string"/>
						<s:element name="cdOrgDestino">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="10"/>
									<s:minLength value="0"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="daOrgDestino" type="s:string"/>
						<s:element name="tipoAsunto">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="16"/>
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="datipoAsunto" type="s:string"/>
						<s:element name="tipoDNIInteresado">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="1"/>
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="dniInteresado">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="17"/>
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="nombreInteresado">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="255"/>
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="tipoTransporte">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:minLength value="1"/>
									<s:whiteSpace value="collapse"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="extracto">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="240"/>
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="nmAnexos" type="s:integer"/>
						<s:element name="firmaSolicitud">
							<s:simpleType>
								<s:restriction base="s:base64Binary">
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="anexos">
							<s:complexType>
								<s:sequence>
									<s:element name="fichero" maxOccurs="unbounded">
										<s:complexType>
											<s:sequence>
												<s:element name="nombreFichero">
													<s:simpleType>
														<s:restriction base="s:string">
															<s:minLength value="1"/>
															<s:maxLength value="80"/>
														</s:restriction>
													</s:simpleType>
												</s:element>
												<s:element name="extractoFichero">
													<s:simpleType>
														<s:restriction base="s:string">
															<s:minLength value="1"/>
														</s:restriction>
													</s:simpleType>
												</s:element>
												<s:element name="firmaFichero">
													<s:simpleType>
														<s:restriction base="s:base64Binary">
															<s:minLength value="1"/>
														</s:restriction>
													</s:simpleType>
												</s:element>
												<s:element name="contenidoFichero">
													<s:simpleType>
														<s:restriction base="s:base64Binary">
															<s:minLength value="1"/>
														</s:restriction>
													</s:simpleType>
												</s:element>
											</s:sequence>
										</s:complexType>
									</s:element>
								</s:sequence>
							</s:complexType>
						</s:element>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="respuestaApunteRegistro">
				<s:complexType>
					<s:sequence>
						<s:element name="cdOficinaRegistrado">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="10"/>
									<s:minLength value="1"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="tipoAsientoRegistrado">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:enumeration value="E"/>
									<s:enumeration value="e"/>
									<s:enumeration value="S"/>
									<s:enumeration value="s"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="timeStampPresentado" type="s:string"/>
						<s:element name="timeStampRegistrado" type="s:string"/>
						<s:element name="nmRegistro" type="s:string"/>
						<s:element name="peticionRegistro">
							<s:complexType>
								<s:sequence>
									<s:element name="cdOficinaRegistro"/>
									<s:element name="tipoAsiento"/>
									<s:element name="cdOrgOrigen"/>
									<s:element name="daOrgOrigen"/>
									<s:element name="cdOrgDestino"/>
									<s:element name="daOrgDestino"/>
									<s:element name="tipoAsunto"/>
									<s:element name="datipoAsunto"/>
									<s:element name="tipoDNIInteresado"/>
									<s:element name="dniInteresado"/>
									<s:element name="nombreInteresado"/>
									<s:element name="tipoTransporte"/>
									<s:element name="extracto"/>
									<s:element name="nmAnexos"/>
									<s:element name="firmaSolicitud"/>
									<s:element name="anexosSinContenido">
										<s:complexType>
											<s:sequence>
												<s:element name="ficheroSinContenido" maxOccurs="unbounded">
													<s:complexType>
														<s:sequence>
															<s:element name="nombreFichero"/>
															<s:element name="extractoFichero"/>
															<s:element name="firmaFichero"/>
														</s:sequence>
													</s:complexType>
												</s:element>
											</s:sequence>
										</s:complexType>
									</s:element>
								</s:sequence>
							</s:complexType>
						</s:element>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="consultaApuntesRegistro">
				<s:complexType>
					<s:sequence>
						<s:element name="cdOficinaRegistro"/>
						<s:element name="tipoAsiento"/>
						<s:element name="timeStampInicial" type="s:string"/>
						<s:element name="timeStampFinal" type="s:string"/>
						<s:element name="nmRegistro"/>
						<s:element name="cdOrgOrigen"/>
						<s:element name="daOrgOrigen"/>
						<s:element name="cdOrgDestino"/>
						<s:element name="daOrgDestino"/>
						<s:element name="tipoAsunto"/>
						<s:element name="datipoAsunto"/>
						<s:element name="tipoDNIInteresado"/>
						<s:element name="dniInteresado"/>
						<s:element name="nombreInteresado"/>
						<s:element name="tipoTransporte"/>
						<s:element name="extracto"/>
						<s:element name="nombreFichero"/>
						<s:element name="extractoFichero"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="respuestaConsulta">
				<s:complexType>
					<s:sequence>
						<s:element name="respuestaApunteRegistro" maxOccurs="unbounded"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="peticionVerificacion">
				<s:complexType>
					<s:sequence>
						<s:element name="cdOficinaRegistro"/>
						<s:element name="tipoAsiento"/>
						<s:element name="nmRegistro"/>
						<s:element name="nombreFichero"/>
						<s:element name="contenidoFichero"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="respuestaVerificacion">
				<s:complexType>
					<s:sequence>
						<s:element name="cdOficinaRegistro"/>
						<s:element name="tipoAsiento"/>
						<s:element name="tipoAsunto"/>
						<s:element name="nmRegistro"/>
						<s:element name="nombreFichero"/>
						<s:element name="cdResultadoVerificacion">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="10"/>
									<s:minLength value="0"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="daResultadoVerificacion" type="s:string"/>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="string" nillable="true" type="s:string"/>
			<s:element name="errorRegistro">
				<s:complexType>
					<s:sequence>
						<s:element name="cdError">
							<s:simpleType>
								<s:restriction base="s:string">
									<s:maxLength value="10"/>
									<s:minLength value="0"/>
								</s:restriction>
							</s:simpleType>
						</s:element>
						<s:element name="dsError" type="s:string"/>
					</s:sequence>
				</s:complexType>
			</s:element>
		</s:schema>
	</types>
	<message name="peticionApunteRegistro">
		<part name="parameters" element="s0:peticionApunteRegistro"/>
	</message>
	<message name="respuestaApunteRegistro">
		<part name="parameters" element="s0:respuestaApunteRegistro"/>
	</message>
	<message name="consultaApuntesRegistro">
		<part name="parameters" element="s0:consultaApuntesRegistro"/>
	</message>
	<message name="respuestaConsulta">
		<part name="parameters" element="s0:respuestaConsulta"/>
	</message>
	<message name="peticionVerificacion">
		<part name="parameters" element="s0:peticionVerificacion"/>
	</message>
	<message name="respuestaVerificacion">
		<part name="parameters" element="s0:respuestaVerificacion"/>
	</message>
	<message name="errorRegistro">
		<part name="parameter" element="s0:errorRegistro"/>
	</message>
	<portType name="RegistroElectronico">
		<operation name="registrar">
			<input message="s0:peticionApunteRegistro"/>
			<output message="s0:respuestaApunteRegistro"/>
			<fault name="errorRegistro" message="s0:errorRegistro"/>
		</operation>
		<operation name="consultarApuntes">
			<input message="s0:consultaApuntesRegistro"/>
			<output message="s0:respuestaConsulta"/>
			<fault name="errorRegistro" message="s0:errorRegistro"/>
		</operation>
		<operation name="verificarContenidos">
			<input message="s0:peticionVerificacion"/>
			<output message="s0:respuestaVerificacion"/>
			<fault name="errorRegistro" message="s0:errorRegistro"/>
		</operation>
	</portType>
	<binding name="RegistroElectronico" type="s0:RegistroElectronico">
		<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsp:PolicyReference URI="#Politica_Binding_Registro"/>
		<operation name="registrar">
			<soap12:operation soapAction="http://www.organismo.es/RegistroElectronico/registrar" soapActionRequired="true" style="document"/>
			<input>
				<wsp:PolicyReference URI="#Politica_Entrada_Metodo_Registrar"/>
				<soap12:body use="literal"/>
			</input>
			<output>
				<wsp:PolicyReference URI="#Politica_Salida_Metodo_Registrar"/>
				<soap12:body use="literal"/>
			</output>
			<fault name="errorRegistro">
				<soap12:fault name="errorRegistro" use="literal"/>
			</fault>
		</operation>
		<operation name="consultarApuntes">
			<soap12:operation soapAction="http://www.organismo.es/RegistroElectronico/consultarApuntes" soapActionRequired="true" style="document"/>
			<input>
				<wsp:PolicyReference URI="#Politica_Entrada_Metodo_Consultar"/>
				<soap12:body use="literal"/>
			</input>
			<output>
				<wsp:PolicyReference URI="#Politica_Salida_Metodo_Consultar"/>
				<soap12:body use="literal"/>
			</output>
			<fault name="errorRegistro">
				<soap12:fault name="errorRegistro" use="literal"/>
			</fault>
		</operation>
		<operation name="verificarContenidos">
			<soap12:operation soapAction="http://www.organismo.es/RegistroElectronico/verificarContenidos" soapActionRequired="true" style="document"/>
			<input>
				<wsp:PolicyReference URI="#Politica_Entrada_Metodo_Verificar"/>
				<soap12:body use="literal"/>
			</input>
			<output>
				<wsp:PolicyReference URI="#Politica_Salida_Metodo_Verificar"/>
				<soap12:body use="literal"/>
			</output>
			<fault name="errorRegistro">
				<soap12:fault name="errorRegistro" use="literal"/>
			</fault>
		</operation>
	</binding>
	<service name="RegistroElectronico">
		<documentation>Especificación de interfaz de Registro Electronico</documentation>
		<port name="RegistroElectronico" binding="s0:RegistroElectronico">
			<soap12:address location="http://www.organismo.es/RegistroElectronico/RegistroElectronico.asmx"/>
			<wsa:EndpointReference>
				<wsa:Address>http://www.organismo.es/RegistroElectronico/RegistroElectronico.asmx</wsa:Address>
				<Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
					<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
						<X509Data>
							<X509Certificate>MIIBxjCCATOgAwIBAgI....PotJoxYrbhUdd6imtjXZ15DrNBppAvg8xST+8rVuhXs4=</X509Certificate>
						</X509Data>
					</KeyInfo>
				</Identity>
			</wsa:EndpointReference>
		</port>
	</service>
	<wsp:Policy wsu:Id="Politica_Binding_Registro">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<wsp:Policy>
						<sp:InitiatorToken>
							<wsp:Policy>
								<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
									<wsp:Policy>
										<sp:WssX509V3Token10/>
									</wsp:Policy>
								</sp:X509Token>
							</wsp:Policy>
						</sp:InitiatorToken>
						<sp:RecipientToken>
							<wsp:Policy>
								<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
									<wsp:Policy>
										<sp:WssX509V3Token10/>
									</wsp:Policy>
								</sp:X509Token>
							</wsp:Policy>
						</sp:RecipientToken>
						<sp:AlgorithmSuite>
							<wsp:Policy>
								<sp:Basic256/>
							</wsp:Policy>
						</sp:AlgorithmSuite>
						<sp:Layout>
							<wsp:Policy>
								<sp:Strict/>
							</wsp:Policy>
						</sp:Layout>
						<sp:IncludeTimestamp/>
						<sp:OnlySignEntireHeadersAndBody/>
					</wsp:Policy>
				</sp:AsymmetricBinding>
				<sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<wsp:Policy>
						<sp:MustSupportRefKeyIdentifier/>
						<sp:MustSupportRefIssuerSerial/>
					</wsp:Policy>
				</sp:Wss10>
				<sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<wsp:Policy>
						<sp:MustSupportIssuedTokens/>
						<sp:RequireClientEntropy/>
						<sp:RequireServerEntropy/>
					</wsp:Policy>
				</sp:Trust10>
				<wsap:UsingAddressing/>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>
	<wsp:Policy wsu:Id="Politica_Entrada_Metodo_Registrar">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<sp:Body/>
					<sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
				</sp:SignedParts>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>
	<wsp:Policy wsu:Id="Politica_Salida_Metodo_Registrar">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<sp:Body/>
					<sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
				</sp:SignedParts>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>
	<wsp:Policy wsu:Id="Politica_Entrada_Metodo_Consultar">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<sp:Body/>
					<sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
				</sp:SignedParts>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>
	<wsp:Policy wsu:Id="Politica_Salida_Metodo_Consultar">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<sp:Body/>
					<sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
				</sp:SignedParts>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>
	<wsp:Policy wsu:Id="Politica_Entrada_Metodo_Verificar">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<sp:Body/>
					<sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
				</sp:SignedParts>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>
	<wsp:Policy wsu:Id="Politica_Salida_Metodo_Verificar">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<sp:Body/>
					<sp:Header Name="To" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="From" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="FaultTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="ReplyTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="MessageID" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="RelatesTo" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
					<sp:Header Name="Action" Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
				</sp:SignedParts>
			</wsp:All>
		</wsp:ExactlyOne>
	</wsp:Policy>					
</definitions>
