# FejlService Controller Documentation

Tinglysningsretten
version 0.5

← Back to Main Page

## Overview

e-Tinglysning - Endpoint for FejlService

Service for receiving errors.

This web service is exposed by each of the participating actor systems and enables e-Tinglysning to report errors regarding messages from an actor.

### Roles and Responsibilities

Role | Description
--- | ---
Responsible | Individual actors' development vendors, Land Registration Court’s development vendor (XML Schemas)
Accountable | Land Registration Court
Consulted | System-to-System users, Land Registration Court’s portal development team
Informed | OIO

### Target Namespace

`http://rep.oio.dk/tinglysning.dk/svarservice/interface/fejlservice/1/`

### Included Schemas

- Fejl.xsd - http://rep.oio.dk/tinglysning.dk/schema/fault/1/

## Messages

Message | Type
--- | ---
FejlModtag | etlf:Fejl

## Endpoints

### FejlModtag

#### Description

This endpoint is called if an error occurs during the processing of a message.

Example request:

    POST /FejlService/FejlModtag HTTP/1.1
    Content-Type: application/xml
    Tinglysning-Message-Id: uuid:44b147ff-b221-43f7-be45-cdb55f085413
    Tinglysning-Relates-To: test-relates-to
    Content-Length: 422

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Fejl xmlns="http://rep.oio.dk/tinglysning.dk/schema/fault/1/">
        <ns2:faultcode xmlns="" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/fault/1/">server</ns2:faultcode>
        <faultstring>ElektroniskAkt.DokumentAktuelHent: Intern fejl i service. Fejl UUID: 336614a2-b302-4e76-92f2-faf6e8af5e42. Fejlkode: QOgi7vglrXdT1gYgBnjrrO/7eJk=</faultstring>
    </Fejl>

Example response:

    HTTP/1.1 200 OK

#### Request/Response Details

Input | sfifc:Fejl
Output | None
Error Handling | Standard HTTP error handling
Interaction Pattern | Notification service operation