This page describes status codes, information and error messages for all etinglysing SOAP services.
Http status codes for etinglysing soap web service
HTTP Status code | Meaning |
---|
200 | Successful request and response. (200 OK) For the generate<TYPE> operations, may be accompanied by information messages that may be important. See Generate document or below for more information. |
401 | Authentication failed. (401 Unauthorized) Occurs if username/password is wrong/deactivated or the authentication token (bearer) is invalid or expired. |
500 | Soap fault response. (500 Internal Server Error) The response body contain a SOAP Fault message. The fault message includes a description of the the specific error condition. More information soap fault. |
...
For the generate<TYPE>
(Generate document) operations, note that even if the response is a successful one, it might contain information messages(INFOMELDING) that may be important later in the process.
If the information messages are not taken into account, it may affect the tinglysing operation.
See the errorGroup explanation for information about INFOMELDING.
<<Vi trenger kanskje et eksempel med infomelding her>>
Soap fault response(500)
Anchor |
---|
| a_soapfaultresponse |
---|
| a_soapfaultresponse |
---|
|
...
Expand |
---|
title | Input error - document not found for given id |
---|
|
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Fant ikke dokument med id=123: null</faultstring>
<detail>
<ns2:FellesDokumentException xmlns:ns2="http://dokument.ws7.etinglysing.no/">
<exceptionId>1625215328560</exceptionId>
<documentMessages>
<documentMessage>
<errorGroup>INPUTFEIL</errorGroup>
<message>Fant ikke dokument med id=123</message>
<errorCode>9002</errorCode>
</documentMessage>
</documentMessages>
</ns2:FellesDokumentException>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope> |
|
Expand |
---|
title | Generate pantedocument infomelding example |
---|
|
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:generatePantedokumentResponse xmlns:ns2="http://dokument.ws7.etinglysing.no/">
<return>
<status>
<created>2021-07-02T11:20:28.307+02:00</created>
<id>15761848</id>
<statusCode>OPPRETTET</statusCode>
</status>
<documentHolder>
<content>.....
<format>BIDXML</format>
<type>PANTEDOKUMENT</type>
</documentHolder>
<messages>
<detail>Registerenhetsrett har tinglyst råderettsbegrensende heftelse som mangler rettighetshaver: 1961/505936-2/106</detail>
<errorGroup>INFOMELDING</errorGroup>
<message>Kartverket informerer</message>
<errorCode>8000</errorCode>
</messages>
<messages>
<detail>Registerenhetsrett har tinglyst råderettsbegrensende heftelse med fritekst: 1961/505936-2/106</detail>
<errorGroup>INFOMELDING</errorGroup>
<message>Kartverket informerer</message>
<errorCode>8000</errorCode>
</messages>
<messages>
<detail>505936 1961: BEGRENSING I RÅDERETT BNR. 582, 637 OG 656 KAN BARE OVERDRAS/PANTSETTES SAMLET GJELDER DENNE REGISTERENHETEN MED FLERE Gjelder kommune 4601, gnr 216, bnr 637</detail>
<errorGroup>INFOMELDING</errorGroup>
<message>Eiendom / andel har påført urådighet</message>
<errorCode>8000</errorCode>
</messages>
<documentVersion>KARTVERKET</documentVersion>
</return>
</ns2:generatePantedokumentResponse>
</soap:Body>
</soap:Envelope> |
|