Skip to content
Permalink
Browse files

La til eksempelmeldinger som opprinnelig kommer fra PDF-dokumentet "M…

…eldingsutveksling for Sikker Digital Post med EBMS"

Har måttet legge til noen ekstra namespace-deklarasjoner etc for å få det til å validere
  • Loading branch information...
landro committed Mar 26, 2014
1 parent 015a9e2 commit de6ce6f6cc21e183fd5577e72067b15e14eccb7a
@@ -0,0 +1,76 @@
<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2003/05/soap-envelope http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<wsse:Security env:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<ds:Signature Id="SIG-DE969A773C0E48851A139204210262312" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="env xsi" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#id-DE969A773C0E48851A139204210260210">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>oQ8OT9OV+9Md/+FddyaNFEfzR85gXsd9KAugtk6/9EA=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-DE969A773C0E48851A139204210261411">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="xsi" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>Qt66RSmhjZqUkFRrMm33W209OPfht0Q2LrAcX/95uis=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>VFw2UKvJYvXUnCpMno3kPldLQi7poMMwg/yed2/AaRmFvY6swqNvQbw9GqKDC4I/H
Z42INt3liTGskE2wHNJQJhE11DEUSC8pMZC38yrz/dgnPJd13p43mWRzUmlotCIWscJOf9+vn2zKMKxPCMb8
fWU8JPDkOU/boLFpUbVD5SqRJV50GoV8Q39MKBj5Pmg+sHR8Pw9KkNXJbIt3x1kqGTh9+x8m4Wp1j0pqQE1r
P/eSbxmlpCIWGeKOtvQlwHWypRc09CjY29rzAjG9Ux4cAfGlYJVgmnaCpfJjvWSVsdH31/iCt5xAEYe7DiGD
2tXHAM/5/Uz+3qfJvcxXHeo7g==</ds:SignatureValue>
<ds:KeyInfo Id="KI-DE969A773C0E48851A13920421025878">
<wsse:SecurityTokenReference wsu:Id="STR-DE969A773C0E48851A13920421025879">
<ds:X509Data>
<ds:X509IssuerSerial>
<ds:X509IssuerName>CN=Jentrata,OU=Jentrata,O=jentrata.org,L=Melbourne,ST=VIC,C=AU</ds:X509IssuerName>
<ds:X509SerialNumber>513240931</ds:X509SerialNumber>
</ds:X509IssuerSerial>
</ds:X509Data>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
</wsse:Security>
<eb:Messaging env:mustUnderstand="true" id="ebmsHeader" wsu:Id="id-DE969A773C0E48851A139204210260210" xmlns:eb="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xsi:schemaLocation="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/ http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/core/ebms-header-3_0-200704.xsd">
<eb:UserMessage>
<eb:MessageInfo>
<eb:Timestamp>2014-02-10T14:21:42.520Z</eb:Timestamp>
<eb:MessageId>60a3ade5-84d1-46d7-b2cc-5f4fa15f41e5</eb:MessageId>
</eb:MessageInfo>
<eb:PartyInfo>
<eb:From>
<eb:PartyId type="urn:oasis:names:tc:ebcore:partyid-type:iso6523:0088">1234567890</eb:PartyId>
<eb:Role>Buyer</eb:Role>
</eb:From>
<eb:To>
<eb:PartyId type="urn:oasis:names:tc:ebcore:partyid-type:iso6523:0088">0987654321</eb:PartyId>
<eb:Role>Seller</eb:Role>
</eb:To>
</eb:PartyInfo>
<eb:CollaborationInfo>
<eb:AgreementRef>jentrataLoopback</eb:AgreementRef>
<eb:Service>http://docs.oasis-open.org/ebxml-msg/as4/200902/service</eb:Service>
<eb:Action>http://docs.oasis-open.org/ebxml-msg/as4/200902/action</eb:Action>
<eb:ConversationId>2014-0001</eb:ConversationId>
</eb:CollaborationInfo>
<eb:PayloadInfo>
<eb:PartInfo href="#soapBody"/>
</eb:PayloadInfo>
</eb:UserMessage>
</eb:Messaging>
</env:Header>
<env:Body id="soapBody" wsu:Id="id-DE969A773C0E48851A139204210261411" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"/>
</env:Envelope>
@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<S12:Envelope xmlns:S12="http://www.w3.org/2003/05/soap-envelope" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:eb3="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xmlns:ebbp="http://docs.oasis-open.org/ebxml-bp/ebbp-signals-2.0" xmlns:ebint="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/multihop/200902/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<S12:Header>
<wsse:Security S12:mustUnderstand="true">
<ds:Signature Id="SIG-20">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="S12 ds eb3 ebbp ebint wsa wsse wsu" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#N10060">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="ds eb3 ebbp ebint wsa wsse" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>fEgJ5s4hqIq+61IzE+5c3EuhxVm0WqC21iVVYu1kfsc=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-19">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="ds ebbp ebint wsa wsse wsu" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>njAnFqsR0OHElcM92BpFsgyFkKu18otc5pHo/6jBtTE=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>F/p2pCCq0gwbKNvOlCfZxUkWXBDYUA3RYRkCgS/cBBb9h+yUl2S6eDJj9t9FkitB5
Q5vBRwDKNXFkKCHAa7JB31N/TBVa5d0q73gTzSVZTZYczkJBg1L9mEFBXw56P2zImp84z6cTojtM98jcQozx
eP/LSQsZGWz4AW9qTEriZ6mZL+/U2xMLbvHc0rVqA2ES/WxxWghi7UCJRoYeGZF5CeSz9vzEKyHzsItsPIfX
KguwmIxDQ1aBABGmmPriVPZnN4II+3lYtTHfUY8QYwQA1ny2sm1udWljVhec8vsKa4NC/spHPMIWxRA3GaL9
YojsDbob4kf4aA1n1z2Z65LHQ==</ds:SignatureValue>
<ds:KeyInfo Id="KI-34e8f812-b306-4682-bddf-02f30b72adcf">
<wsse:SecurityTokenReference wsu:Id="STR-d6b71eb9-8a3d-4382-b3af-4e07a51beb59">
<ds:X509Data>
<ds:X509IssuerSerial>
<ds:X509IssuerName>CN=Jentrata,OU=Jentrata,O=jentrata.org,L=Melbourne,ST=VIC,C=AU</ds:X509IssuerName>
<ds:X509SerialNumber>513240931</ds:X509SerialNumber>
</ds:X509IssuerSerial>
</ds:X509Data>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
</wsse:Security>
<eb3:Messaging S12:mustUnderstand="true" id="_ebmessaging_N1003A" wsu:Id="id-19">
<eb3:SignalMessage>
<eb3:MessageInfo>
<eb3:Timestamp>2014-02-10T15:21:42.821Z</eb3:Timestamp>
<eb3:MessageId>ff132776-f5bf-458d-8add-ade380f72922@jentrata.org</eb3:MessageId>
<eb3:RefToMessageId>60a3ade5-84d1-46d7-b2cc-5f4fa15f41e5</eb3:RefToMessageId>
</eb3:MessageInfo>
<eb3:Receipt>
<ebbp:NonRepudiationInformation>
<ebbp:MessagePartNRInformation>
<ds:Reference URI="#id-DE969A773C0E48851A139204210260210" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>oQ8OT9OV+9Md/+FddyaNFEfzR85gXsd9KAugtk6/9EA=</ds:DigestValue>
</ds:Reference>
</ebbp:MessagePartNRInformation>
<ebbp:MessagePartNRInformation>
<ds:Reference URI="#id-DE969A773C0E48851A139204210261411" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces PrefixList="xsi" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>Qt66RSmhjZqUkFRrMm33W209OPfht0Q2LrAcX/95uis=</ds:DigestValue>
</ds:Reference>
</ebbp:MessagePartNRInformation>
</ebbp:NonRepudiationInformation>
</eb3:Receipt>
</eb3:SignalMessage>
</eb3:Messaging>
</S12:Header>
<S12:Body wsu:Id="N10060"/>
</S12:Envelope>
@@ -0,0 +1,17 @@
<S11:Envelope xmlns:S11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:eb="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<S11:Header>
<wsse:Security S11:mustUnderstand="true">
<!-- TODO -->
</wsse:Security>
<eb:Messaging S11:mustUnderstand="1">
<eb:SignalMessage>
<eb:MessageInfo>
<eb:Timestamp>2006-10-01T10:01:00</eb:Timestamp>
<eb:MessageId>UUID-4@receiver.example.com</eb:MessageId>
</eb:MessageInfo>
<eb:PullRequest mpc="http://sender.example.com/mpc123"/>
</eb:SignalMessage>
</eb:Messaging>
</S11:Header>
<S11:Body/>
</S11:Envelope>
@@ -0,0 +1,25 @@
<S11:Envelope>
<S11:Header>
<eb:Messaging S11:mustUnderstand="1">
<eb:UserMessage mpc="http://sender.example.com/mpc123">
<eb:MessageInfo>
<eb:Timestamp>2006-10-01T10:02:00</eb:Timestamp>
<eb:MessageId>UUID-5@sender.example.com</eb:MessageId>
<eb:RefToMessageId>UUID-4@receiver.example.com</eb:RefToMessageId>
</eb:MessageInfo>
<eb:PartyInfo>
...
</eb:PartyInfo>
<eb:CollaborationInfo>
...
</eb:CollaborationInfo>
<eb:PayloadInfo>
...
</eb:PayloadInfo>
</eb:UserMessage>
</eb:Messaging>
</S11:Header>
<S11:Body>
...
</S11:Body>
</S11:Envelope>

0 comments on commit de6ce6f

Please sign in to comment.
You can’t perform that action at this time.