8. Integrācijas IS servisa izsaukums


Integrācijas IS servisa izsaukuma satura XML elementi tiek aprakstīti atbilstoši standartiem:

  • Envelope, Header, Body – SOAP v1.2;
  • Action, MessageID, ReplyTo, To – WS-Addresing v1.0;
  • Security, Timestamp – WS-Security v1.1;
  • Security elementa saturs – SAML Token Profile v1.1;
  • SubmitSync.

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

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

<ActivityId CorrelationId="e434d403-c847-4d07-a9c1-e14d18f22690" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">f79c80da-a502-4d4b-b0f1-21c6cdd8ccc4</ActivityId>

<a:ReplyTo>

<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>

</a:ReplyTo>

<a:To s:mustUnderstand="1">https://ausmatest8.vraa.gov.lv/Request.WebService/v1-9/WcfService/ws2007FederationNoSct</a:To>

<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.289Z</u:Created>

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

</u:Timestamp>

<EncryptedAssertion xmlns="urn:oasis:names:tc:SAML:2.0:assertion">

<xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">

<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"></xenc:EncryptionMethod>

<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">

<e:EncryptedKey xmlns:e="http://www.w3.org/2001/04/xmlenc#">

<e:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p">

<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>

</e:EncryptionMethod>

<KeyInfo>

<o:SecurityTokenReference>

<X509Data>

<X509IssuerSerial>

<X509IssuerName>CN=IVIS Root CA</X509IssuerName>

<X509SerialNumber>526677922334502603980825</X509SerialNumber>

</X509IssuerSerial>

</X509Data>

</o:SecurityTokenReference>

</KeyInfo>

<e:CipherData>

<e:CipherValue>G2TwcGwLwvzZzE/wblyJdBgJtj40BcAaBrljfk4uwLDInq5Lrg+wrDuS4m7+55W6XJeCYhPjVqRMC9z3ZOCJRa0uGfdAti7n5JcTKBQeEcIQI56Rqglbd/s1JphTQgST76O8n6NAMavOC6+qB8Fpa1TTV9i6i5WJvvSmm0Xr69s=</e:CipherValue>

</e:CipherData>

</e:EncryptedKey>

</KeyInfo>

<xenc:CipherData>

<xenc:CipherValue>GZDHOLhHw6j1gnB+rn8mr/LceyXgcKy5DYZKa8kDI27YfQgDddiXCtjgcFf5a3bdcgU5z+fJY4wDwgDwfipZTHn5fV3ibTA0mtyTrfLOMzcBPvVCztm1cieLKqMUZdzI47btzVZW0C0WGDa8dH1AGDVHs5YmCenmI+gNzP/G7St6bgopjAtfvvvK/ eQORxUhZV++ZpmWwWU8a0eOPZWFr5h/i4jCJFgDBhhruLOom5dC2SgMnZ61kMRJxIYgCYdFjn2PtuGcxhLbk2xHymK3FqaIQps5jE9G4ll0J7+QDS5s8Z1RqJQv0Xc2Qf7SWZrkPmvOwvVf6NmNdiFMsnOvmDhnZMsdintQULat5nWidTzProc5J+4pDzh3TLolOtpsfst/VYaz7SpXamtRFcgPDyWtG8HOoL233dxfqZy+5TQffA6D5JQ==</xenc:CipherValue>

</xenc:CipherData>

</xenc:EncryptedData>

</EncryptedAssertion>

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

<SignedInfo>

<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>

<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"></SignatureMethod>

<Reference URI="#_0">

<Transforms>

<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>

</Transforms>

<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>

<DigestValue>d9Dc3P5p9R+IH3n++f0lkxgllg0=</DigestValue>

</Reference>

</SignedInfo>

<SignatureValue>76kp8UR6FXJwiW16byX3zuv8KrE=</SignatureValue>

<KeyInfo>

<o:SecurityTokenReference b:TokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0" xmlns:b="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd">

<o:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID">_bbe19297-fda4-4a2b-9b19-62dca967d37b</o:KeyIdentifier>

</o:SecurityTokenReference>

</KeyInfo>

</Signature>

</o:Security>

</s:Header>

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

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

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

<Header>

<MessageID>438aa40e-d15b-4dbf-a6eb-9d792882580d</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>

<Destination>URN:IVIS:100001:ISS-LM.VDEAVK-GetUniversalServiceDataIS-v1-0</Destination>

</Header>

<Body>

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

<EP67Data>

<UniversalServiceDataRequest>

<IdentityNumber>02010127005</IdentityNumber>

<InstitutionCode>80</InstitutionCode>

<AboutIdentityNumber>11118510043</AboutIdentityNumber>

<SessionId>b5114c290e624be4a884547c2af3bcaf</SessionId>                           </UniversalServiceDataRequest>      

</EP67Data>  

                               </EP67FullData>

</Body>

</IVISRequest>

</SubmitSync>

</s:Body>

</s:Envelope>