Jämförda versioner

Nyckel

  • Dessa rader lades till.
  • Denna rad togs bort.
  • Formateringen ändrades.

...

Givet att båda källsystemen svarar korrekt så kommer ProcessingStatus – SOAP headern se ut något i stil med följande:



Kodblock
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

   <soapenv:Header>

      <ProcessingStatus xmlns="urn:riv:interoperability:headers:1">

         <ProcessingStatusList>

            <logicalAddress>HSA-ID-A</logicalAddress>

            <statusCode>DataFromSource</statusCode>

            <isResponseFromCache>false</isResponseFromCache>

            <isResponseInSynch>true</isResponseInSynch>

            <lastSuccessfulSynch>20130904124333</lastSuccessfulSynch>

         </ProcessingStatusList>

         <ProcessingStatusList>

            <logicalAddress>HSA-ID-B</logicalAddress>

            <statusCode>DataFromSource</statusCode>

            <isResponseFromCache>false</isResponseFromCache>

            <isResponseInSynch>true</isResponseInSynch>

            <lastSuccessfulSynch>20130904124333</lastSuccessfulSynch>

         </ProcessingStatusList>

      </ProcessingStatus>

   </soapenv:Header>



Om däremot något av de anropade källsystemen inte svarar inom en föreskriven tid eller returnerar ett fel så kommer ProcessingStatus-SOAP headern innehålla information om att svaret inte är komplett utan bara partiellt samt information om vilket fel som uppstod. I bilden nedan illustreras ett exempel där tre källsystem anropas men bara två ger svar, det tredje orsakar en timeout (dvs svarar inte inom föreskriven maxtid):

...

SOAP-headern ProcessingStatus kommer då se ut något i stil med följande:


Kodblock
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

   <soapenv:Header>

    <ProcessingStatus xmlns="urn:riv:interoperability:headers:1">

      <ProcessingStatusList>

        <logicalAddress>HSA-ID-A</logicalAddress>

        <statusCode>DataFromSource</statusCode>

        <isResponseFromCache>false</isResponseFromCache>

        <isResponseInSynch>true</isResponseInSynch>

        <lastSuccessfulSynch>20130905111504</lastSuccessfulSynch>

      </ProcessingStatusList>

      <ProcessingStatusList>

        <logicalAddress>HSA-ID-B</logicalAddress>

        <statusCode>DataFromSource</statusCode>

        <isResponseFromCache>false</isResponseFromCache>

        <isResponseInSynch>true</isResponseInSynch>

        <lastSuccessfulSynch>20130905111504</lastSuccessfulSynch>

      </ProcessingStatusList>

      <ProcessingStatusList>

        <logicalAddress>HSA-ID-C</logicalAddress>

        <statusCode>NoDataSynchFailed</statusCode>

        <isResponseFromCache>false</isResponseFromCache>

        <isResponseInSynch>false</isResponseInSynch>

        <lastUnsuccessfulSynch>20130905111504</lastUnsuccessfulSynch>

        <lastUnsuccessfulSynchError>

          <causingAgent>virtualization_platform</causingAgent>

          <code>43000</code>

          <text>Read timed out. Failed to route event via endpoint:

            org.mule.module.cxf.CxfOutboundMessageProcessor. Message payload is

            of type: PostMethod, Read timed out</text>

        </lastUnsuccessfulSynchError>

      </ProcessingStatusList>

    </ProcessingStatus>

  </soapenv:Header>



3.2        Beskrivning av namnregler

...