LexTotal

Legislación › Real Decreto 398/2007, de 23 de marzo, por el que se desarrolla la Ley 20/2005, de 14 de noviembre, sobre la creación del Registro de contratos de seguro de cobertura de fallecimiento.

1.1 Solicitud certificado:

ANEXO IV

1. DESCRIPCIÓN DE WEB SERVICES DE INTERCAMBIO DE DATOS CON NOTARIOS

1.1 Solicitud certificado:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://servicesnotarios.rscf.mjusticia.es" xmlns:intf="http://servicesnotarios.rscf.mjusticia.es" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://servicesnotarios.rscf.mjusticia.es"> <wsdl:types> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://servicesnotarios.rscf.mjusticia.es"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <element name="SOLICITUD_CERTIFICADO"> <complexType> <sequence> <element name="FECHA" type="xsd:date"> <annotation> <documentation>Fecha de generacin del mensaje (AAAA-MM-DD)</documentation> </annotation> </element> <element name="HORA"> <annotation> <documentation>Hora de generacin del mensaje (HH:MM:SS)</documentation> </annotation> <simpleType> <restriction base="xsd:string"> <length value="8"/> <pattern value="\d{2}:\d{2}:\d{2}"/> </restriction> </simpleType> </element> <element name="ID_SOLICITUD" type="xsd:long"> <annotation> <documentation>Nmero identificativo del mensaje</documentation> </annotation> </element> <element fixed="CGN" name="EMISOR" type="xsd:string"> <annotation> <documentation>Entidad emisora del mensaje ("CGN" Consejo General del Notariado)</documentation> </annotation> </element> <element fixed="RGS" name="RECEPTOR" type="xsd:string"> <annotation> <documentation>Entidad receptora del mensaje ("RGS" Registro General de Seguros)</documentation> </annotation> </element> </sequence> </complexType> </element> <complexType name="SolicitudCertificadoException"> <sequence> <element name="info" nillable="true" type="xsd:string"/> </sequence> </complexType> <element name="fault" type="impl:SolicitudCertificadoException"/> <element name="realizarSolicitud"> <complexType> <sequence> <any namespace="##any" processContents="lax"/> </sequence> </complexType> </element> <element name="realizarSolicitudResponse"> <complexType> <sequence> <any namespace="##any" processContents="lax"/> </sequence> </complexType> </element> </schema> </wsdl:types> <wsdl:message name="SolicitudCertificadoException"> <wsdl:part element="impl:fault" name="fault"/> </wsdl:message> <wsdl:message name="solicitudResponse"> <wsdl:part element="impl:realizarSolicitudResponse" name="processReturn"/> </wsdl:message> <wsdl:message name="solicitudRequest"> <wsdl:part element="impl:realizarSolicitud" name="part"/> <wsdl:part element="intf:SOLICITUD_CERTIFICADO" name="request_header"/> </wsdl:message> <wsdl:portType name="SolicitudCertificado"> <wsdl:operation name="realizarSolicitud"> <wsdl:input message="impl:solicitudRequest" name="solicitudRequest"/> <wsdl:output message="impl:solicitudResponse" name="solicitudResponse"/> <wsdl:fault message="impl:SolicitudCertificadoException" name="SolicitudCertificadoException"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="SolicitudCertificadoSoapBinding" type="impl:SolicitudCertificado"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="realizarSolicitud"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="solicitudRequest"> <wsdlsoap:header message="intf:solicitudRequest" part="request_header" use="literal"/> <wsdlsoap:body parts="part" use="literal"/> </wsdl:input> <wsdl:output name="solicitudResponse"> <wsdlsoap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="SolicitudCertificadoService"> <wsdl:port binding="impl:SolicitudCertificadoSoapBinding" name="SolicitudCertificado"> <wsdlsoap:address location="https:// mjusticia.es/RESEVINotarios/services/SolicitudCertificado"/> </wsdl:port> </wsdl:service>
</wsdl:definitions> 

1.2 Recepción certificado:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://inti.notariado.org/XML" xmlns:intf="http://inti.notariado.org/XML" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://inti.notariado.org/XML"> <wsdl:types> <xsd:schema xmlns="http://inti.notariado.org/XML" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://inti.notariado.org/XML"> <xsd:element name="SERVICE_DISPATCHER"> <xsd:complexType> <xsd:sequence> <xsd:element name="TIMESTAMP" type="xsd:dateTime"> <xsd:annotation> <xsd:documentation>Timestamping sobre el envio del mensaje (AAAA-MMDDThh: mm:ss)</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="TIPO_MSJ" type="TIPO_MENSAJEType"> <xsd:annotation> <xsd:documentation>Tipo de mensaje ( "1" Peticion, "2" Respuesta)</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="EMISOR" type="xsd:string"> <xsd:annotation> <xsd:documentation>Entidad emisora del mensaje (Codigo de la entidad)</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element fixed="CGN" name="RECEP" type="xsd:string"> <xsd:annotation> <xsd:documentation>Entidad receptora del mensaje ("CGN" Codigo del CGN)</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="SERVICIO" type="xsd:string"> <xsd:annotation> <xsd:documentation>Codigo del servicio</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:simpleType name="TIPO_MENSAJEType"> <xsd:restriction base="xsd:byte"> <xsd:enumeration value="1"/> <xsd:enumeration value="2"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="SERVICE_DISPATCHER_REQUEST"> <xsd:complexType> <xsd:sequence> <xsd:any namespace="##any" processContents="lax"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="SERVICE_DISPATCHER_RESPONSE"> <xsd:complexType> <xsd:sequence> <xsd:any namespace="##any" processContents="lax"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="ServiceDispatcherException"> <xsd:sequence> <xsd:element name="info" nillable="true" type="xsd:string"/> </xsd:sequence> </xsd:complexType> <xsd:element name="fault" type="ServiceDispatcherException"/> </xsd:schema> </wsdl:types> <wsdl:message name="ServiceDispatcherException"> <wsdl:part element="impl:fault" name="fault"/> </wsdl:message> <wsdl:message name="processResponse"> <wsdl:part element="impl:SERVICE_DISPATCHER_RESPONSE" name="processReturn"/> </wsdl:message> <wsdl:message name="processRequest"> <wsdl:part element="impl:SERVICE_DISPATCHER_REQUEST" name="part"/> <wsdl:part element="intf:SERVICE_DISPATCHER" name="request_header"/> </wsdl:message> <wsdl:portType name="ServiceDispatcher"> <wsdl:operation name="process"> <wsdl:input message="impl:processRequest" name="processRequest"/> <wsdl:output message="impl:processResponse" name="processResponse"/> <wsdl:fault message="impl:ServiceDispatcherException" name="ServiceDispatcherException"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="ServiceDispatcherSoapBinding" type="impl:ServiceDispatcher"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="process"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="processRequest"> <wsdlsoap:header message="intf:processRequest" part="request_header" use="literal"/> <wsdlsoap:body parts="part" use="literal"/> </wsdl:input> <wsdl:output name="processResponse"> <wsdlsoap:body use="literal"/> </wsdl:output> <wsdl:fault name="ServiceDispatcherException"> <wsdlsoap:fault name="ServiceDispatcherException" use="literal"/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <wsdl:service name="ServiceDispatcherService"> <wsdl:port binding="impl:ServiceDispatcherSoapBinding" name="ServiceDispatcher"> <wsdlsoap:address location="https://e-notario.notariado.org/servicedispatcher/services/ServiceDispatcher"/> </wsdl:port> </wsdl:service>
</wsdl:definitions> 

2. ESQUEMAS DE DOCUMENTOS XML DE INTERCAMBIO DE DATOS CON NOTARIOS

a. solicitud-certificado.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://inti.notariado.org/XML/RGS" targetNamespace="http://inti.notariado.org/XML/RGS" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.2"> <xs:include schemaLocation="tipos.xsd"/> <xs:element name="SOLICITUD_CERTIFICADO"> <xs:annotation> <xs:documentation>Esquema para la solicitud de certificado al Registro General de Seguros</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:choice> <xs:element name="REQUEST"> <xs:annotation> <xs:documentation>Datos enviados al Registro General de Seguros</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="CABECERA" type="CABECERAType"/> <xs:element name="DATOS"> <xs:complexType> <xs:sequence> <xs:element name="NOTARIO"> <xs:annotation> <xs:documentation>Datos del Notario</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="CODIGO"> <xs:annotation> <xs:documentation>Código Ultimas Voluntades (CUV)</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string">…<xs:pattern value="[0-9]{7}"/></xs:restriction> </xs:simpleType> </xs:element> <xs:element name="NUMERO_DOCUMENTO" type="NIFType"> <xs:annotation> <xs:documentation>NIF</xs:documentation> </xs:annotation> </xs:element> <xs:element name="NOMBRE" type="NOMBREType"> <xs:annotation> <xs:documentation>Nombre</xs:documentation> </xs:annotation> </xs:element> <xs:element name="APELLIDO1" type="NOMBREType"> <xs:annotation> <xs:documentation>Primer apellido</xs:documentation> </xs:annotation> </xs:element> <xs:element name="APELLIDO2" type="NOMBREType" minOccurs="0"> <xs:annotation> <xs:documentation>Segundo apellido</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="IDIOMA"> <xs:annotation> <xs:documentation>Idioma del certificado a expedir ("0" Castellano, "1" Catalán, "2" Gallego, "3" Vasco, "4" Valenciano)</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="0"/> <xs:enumeration value="1"/> <xs:enumeration value="2"/> <xs:enumeration value="3"/> <xs:enumeration value="4"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="FALLECIDO"> <xs:complexType> <xs:sequence> <xs:element name="FECHA_DEFUNCION" type="xs:date"> <xs:annotation> <xs:documentation>Fecha de defunción</xs:documentation> </xs:annotation> </xs:element> <xs:element name="NUMERO_DOCUMENTO" type="NIFType"> <xs:annotation> <xs:documentation>NIF</xs:documentation> </xs:annotation> </xs:element> <xs:element name="NOMBRE" type="NOMBREType"> <xs:annotation> <xs:documentation>Nombre</xs:documentation> </xs:annotation> </xs:element> <xs:element name="APELLIDO1" type="NOMBREType"> <xs:annotation> <xs:documentation>Primer apellido</xs:documentation> </xs:annotation> </xs:element> <xs:element name="APELLIDO2" type="NOMBREType" minOccurs="0"> <xs:annotation> <xs:documentation>Segundo apellidoç</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="ID" type="xs:ID" use="required"/> </xs:complexType> </xs:element> <xs:any namespace="##any" processContents="lax" minOccurs="0"> <xs:annotation> <xs:documentation>Firma del nodo "DATOS" siguiendo el estándar XADES por el Notario</xs:documentation> </xs:annotation> </xs:any> </xs:sequence> <xs:attribute name="ID" type="xs:ID" use="required"/> </xs:complexType> </xs:element> <xs:element name="REPLY"> <xs:annotation> <xs:documentation>Datos recibidos del Registro General de Seguros</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="CABECERA" type="CABECERAType"/> <xs:element name="RESULTADO" type="RESULTADOType"/> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> <xs:any namespace="##any" processContents="lax" minOccurs="0"> <xs:annotation> <xs:documentation>Firma del nodo "REQUEST" siguiendo el estándar XADES por el servidor del CGN </xs:documentation> </xs:annotation> </xs:any> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="CABECERAType"> <xs:sequence> <xs:element name="FECHA" type="xs:date"> <xs:annotation> <xs:documentation>Fecha de generación del mensaje (AAAA-MM-DD)</xs:documentation> </xs:annotation> </xs:element> <xs:element name="HORA"> <xs:annotation> <xs:documentation>Hora de generación del mensaje (HH:MM:SS)</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="8"/> <xs:pattern value="\d{2}:\d{2}:\d{2}"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="ID_SOLICITUD" type="xs:long"> <xs:annotation> <xs:documentation>Número identificativo del mensaje</xs:documentation> </xs:annotation> </xs:element> <xs:element name="EMISOR" type="xs:string" fixed="CGN"> <xs:annotation> <xs:documentation>Entidad emisora del mensaje ("CGN" Consejo General del Notariado)</xs:documentation> </xs:annotation> </xs:element> <xs:element name="RECEPTOR" type="xs:string" fixed="RGS"> <xs:annotation> <xs:documentation>Entidad receptora del mensaje ("RGS" Registro General de Seguros)</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType>
</xs:schema> 

b. recepcion-certificado.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://inti.notariado.org/XML/RGS" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://inti.notariado.org/XML/RGS" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.2"> <xs:include schemaLocation="tipos.xsd"/> <xs:element name="RECEPCION_CERTIFICADO"> <xs:annotation> <xs:documentation>Esquema para la recepción de un certificado del Registro General de Seguros</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:choice> <xs:element name="REQUEST"> <xs:annotation> <xs:documentation>Datos recibidos del Registro General de Seguros</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="ID_SOLICITUD" type="xs:long"> <xs:annotation> <xs:documentation>Número identificativo del mensaje</xs:documentation> </xs:annotation> </xs:element> <xs:element name="DATOS"> <xs:complexType> <xs:sequence> <xs:element name="CERTIFICADO" type="xs:base64Binary"> <xs:annotation> <xs:documentation>Certificado en formato PDF</xs:documentation> </xs:annotation> </xs:element> <xs:element name="FIRMA" type="xs:base64Binary"> <xs:annotation> <xs:documentation>Firma del certificado siguiendo el estándar PKCS#7 por el funcionario encargado</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="REPLY"> <xs:annotation> <xs:documentation>Datos enviados al Registro General de Seguros</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="ID_SOLICITUD" type="xs:long"> <xs:annotation> <xs:documentation>Número identificativo del mensaje</xs:documentation> </xs:annotation> </xs:element> <xs:element name="RESULTADO" type="RESULTADOType"/> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:sequence> </xs:complexType> </xs:element>
</xs:schema> 

2.3 tipos.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://inti.notariado.org/XML/RGS" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://inti.notariado.org/XML/RGS" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.2"> <xs:complexType name="RESULTADOType"> <xs:sequence> <xs:element name="TIPO_ERROR" type="xs:boolean"> <xs:annotation> <xs:documentation>Boleano (true/false o 1/0) que indica si se ha producido algún error o no</xs:documentation> </xs:annotation> </xs:element> <xs:element name="CODIGO_ERROR" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Código del error conocido y tipificado en tabla de errores</xs:documentation> </xs:annotation> </xs:element> <xs:element name="TEXTO_ERROR" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation>Texto de error no tipificado en tabla de errores </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:simpleType name="NOMBREType"> <xs:restriction base="xs:string"> <xs:maxLength value="65"/> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="NIFType"> <xs:restriction base="xs:string"> <xs:length value="9"/> </xs:restriction> </xs:simpleType>
</xs:schema> 

← Disposición final tercera Índice