7. Pieprasījumu servisa biznesa transakcijas izsaukšanas pieprasījuma rezultāts

Pieprasījumu servisa biznesa transakcijas izsaukšanas pieprasījuma satura veidojošie XML elementi tiek aprakstīti atbilstoši šādiem standartiem:

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

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/StartTransactionResponse</a:Action>

<a:RelatesTo>urn:uuid:ff7d698f-f90b-4a1a-be2d-1f7bb0c8afe6</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:19.525Z</u:Created>

<u:Expires>2015-09-09T12:56:19.525Z</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">

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

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

</StartTransactionResponse>

</s:Body>

</s:Envelope>