Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titlefaultcode soap:Client - the xml does not validate
Code Block
languagexml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'adocumentId'. One of '{documentId}' is expected. </faultstring>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

Expand
titleValidation error example - missing signature
Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>
        Kartverket rapporterer: Mangler signatur for organisasjon: 321 654 987
      </faultstring>
      <detail>
        <ns2:FellesDokumentException xmlns:ns2="http://dokument.ws7.etinglysing.no/">
          <exceptionId>1625040509848</exceptionId>
          <documentMessages>
            <documentMessage>
              <detail>Mangler signatur for organisasjon: 321 654 987</detail>
              <errorGroup>VALIDERINGSFEIL</errorGroup>
              <message>Kartverket rapporterer</message>
              <errorCode>9014</errorCode>
            </documentMessage>
          </documentMessages>
        </ns2:FellesDokumentException>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Anchor
validationerror
validationerror

Expand
titleValidation error VALIDERINGSFEIL example - Grunnbok mismatch
Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>Det er avvik mellom innsendte opplysninger og det som står oppført i grunnboken. Det kan være feil hjemmelshaver, eiendom/borettsandel eller eiendomsnivå: Gjelder 10038239762 LUNDELAND MADS ANDRE</faultstring>
         <detail>
            <ns2:FellesDokumentException xmlns:ns2="http://dokument.ws7.etinglysing.no/">
               <exceptionId>1625215833724</exceptionId>
               <documentMessages>
                  <documentMessage>
                     <detail>Gjelder xxxxxxxxxxx LUNDELAND MADS ANDRE</detail>
                     <errorGroup>VALIDERINGSFEIL</errorGroup>
                     <message>Det er avvik mellom innsendte opplysninger og det som står oppført i grunnboken. Det kan være feil hjemmelshaver, eiendom/borettsandel eller eiendomsnivå</message>
                     <errorCode>9014</errorCode>
                  </documentMessage>
               </documentMessages>
            </ns2:FellesDokumentException>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

Anchor
inputerror
inputerror

Expand
titleInput error INPUTFEIL example - document not found for given id
Code Block
languagexml
<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>

Anchor
isMissingRequiredParametersInfomeldingeks
trueInfomeldingeks

Expand
titleGenerate pantedocument infomelding exampleINFOMELDING example - generate pantedokument
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>