9. Integrācijas IS servisa izsaukuma rezultāts

Integrācijas IS servisa izsaukuma rezultāta XML Elementi tiek aprakstīti atbilstoši standartiem:

  • Envelope, Header, Body – SOAP v1.2;
  • Action, RelatesTo – WS-Addresing v1.0;
  • Security, Timestamp – WS-Security v1.1;
  • SubmitSyncResponse.

Ziņojuma piemērs:

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

<s:Header>

<a:Action s:mustUnderstand="1">http://ivis.eps.gov.lv/ISS/RequestServiss/v1-0/SubmitSyncResponse</a:Action>

<ActivityId CorrelationId="a07a1f70-eead-4689-a075-452ef68b01d5" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">f79c80da-a502-4d4b-b0f1-21c6cdd8ccc4</ActivityId>

<a:RelatesTo>urn:uuid:c66456ed-6133-454c-9185-662fe1436d5f</a:RelatesTo>

<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

<u:Timestamp u:Id="_0">

<u:Created>2015-09-09T12:51:20.071Z</u:Created>

<u:Expires>2015-09-09T12:56:20.071Z</u:Expires>

</u:Timestamp>

</o:Security>

</s:Header>

<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SubmitSyncResponse xmlns="http://ivis.eps.gov.lv/ISS/RequestServiss/v1-0">

<IVISResponse xmlns="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0">

<Header>

<MessageID>bcf1af67-0245-4933-b97f-f3ff23b36ba5</MessageID>

<MessageType>URN:IVIS:100001:XSD-EP67-EP67Data-v1-0-TYPE-EP67FullData</MessageType>

<TransactionID>URN:IVIS:100001:EP-TEST01-v1-0-TR-861</TransactionID>

<CorrelationID>c90007ac-bf4f-4577-a78c-5752d9d28f88</CorrelationID>

<TimeStamp>2015-09-09T15:51:20.071942+03:00</TimeStamp>

<Result>success</Result>

</Header>

<Body>

<EP67FullData xmlns="http://ivis.eps.gov.lv/XMLSchemas/100665/EP67/v1-0" xmlns:pers="http://ivis.eps.gov.lv/XMLSchemas/100001/Person/v1-0" xmlns:ivis="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0">

<ivis:IVISServiceDataEx>

<ivis:ServiceInstanceID>URN:IVIS:100001:EP-TEST01-v1-0-TR-861</ivis:ServiceInstanceID>

<ivis:EServiceID>URN:IVIS:100001:EP-TEST01-v1-0</ivis:EServiceID>

</ivis:IVISServiceDataEx>

<EP67Data>

<UniversalServiceDataResponse>

<CertExists>true</CertExists>

<PersonExists>false</PersonExists>

</UniversalServiceDataResponse>

</EP67Data>

</EP67FullData>

</Body>

</IVISResponse>

</SubmitSyncResponse>

</s:Body>

</s:Envelope>