Jämförda versioner

Nyckel

  • Dessa rader lades till.
  • Denna rad togs bort.
  • Formateringen ändrades.
Kommentera: Exempel på SOAP faults

...

Referens till regel
eller krav i TK 1.0-RC9

FelscenarioFelkodFeltextExempel på SOAP Fault
§ 6.4 StatusrapporteringVid ett tekniskt fel levereras ett generellt undantag (SOAP-Exception).E000

A technical error has occurred, error message: <technical details>

 
Kodblock
languagehtml/xml
collapsetrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>EI000: A technical error has occurred, error message: serviceDomain is mandatory but missing</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>
TBDTBDEI001

The payload does not follow the XML Schema, error messge: <error>

 

 

§7.5 Update-R1Element i inkommande request till Update måste vara sinsemellan unika.EI002

EngagementTransaction <position1> and <position2> have the same key. That is not allowed. See rule for Update-R1 in service contract

 

Kodblock
languagehtml/xml
collapsetrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>EI002: EngagementTransaction #1 and #2 have the same key. That is not allowed. See rule for Update-R1 in service contract</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>
§7.5 Update-R7Logisk adress i request till Update måste vara identisk med Engagemangsindexets ownerid.EI003

Invalid routing. Logical address is <logical address> but the owner is <owner>. They must be the same. See rule for Update-R7 in service contract

 
Kodblock
languagehtml/xml
collapsetrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>EI003: Invalid routing. Logical address is wrong-logical-address but the owner is ei-hsa-id. They must be the same. See rule for Update-R7 in service contract</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>
§7.4 Update / §10.4 ProcessNotificationNär engagemang saknar någon av de fält som enligt tjänstekontraktet är obligatoriska.EI004

The payload does not validate, error message: <details about the validation error>

 

Kodblock
languagehtml/xml
collapsetrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>EI004: The payload does not validate, error messge: dataController is missing but mandatory</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>