Skip to content
Permalink
Browse files

Oppdaterte SOAP eksempler med flere detaljer

  • Loading branch information...
landro committed Mar 31, 2014
1 parent 8a687c7 commit 0be206c78f0dbe86c1aee7dec9accc9fc33a0c88
@@ -45,7 +45,8 @@ P/eSbxmlpCIWGeKOtvQlwHWypRc09CjY29rzAjG9Ux4cAfGlYJVgmnaCpfJjvWSVsdH31/iCt5xAEYe7
</ds:Signature>
</wsse:Security>
<eb:Messaging S12: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>
<!--TODO definerer kanal for pull requester -->
<eb:UserMessage mpc="urn:sdp:avsenderid:12345">
<eb:MessageInfo>
<eb:Timestamp>2014-02-10T14:21:42.520Z</eb:Timestamp>
<eb:MessageId>60a3ade5-84d1-46d7-b2cc-5f4fa15f41e5</eb:MessageId>
@@ -65,18 +66,18 @@ P/eSbxmlpCIWGeKOtvQlwHWypRc09CjY29rzAjG9Ux4cAfGlYJVgmnaCpfJjvWSVsdH31/iCt5xAEYe7
</eb:To>
</eb:PartyInfo>
<eb:CollaborationInfo>
<!-- TODO ser ikke behov for denne - kan utelates ref spec-->
<!-- <eb:AgreementRef>uri:som:identifiserar:samarbeidsprotokollavtalen</eb:AgreementRef> -->
<!-- TODO lik for alle - kan utelates ref spec-->
<eb:AgreementRef>uri:som:identifiserar:samarbeidsprotokollavtalen</eb:AgreementRef>
<!-- TODO default AS4 service -->
<eb:Service>http://docs.oasis-open.org/ebxml-msg/as4/200902/service</eb:Service>
<!-- TODO default AS4 action -->
<eb:Action>http://docs.oasis-open.org/ebxml-msg/as4/200902/action</eb:Action>
<!-- TODO detaljere innholdet av denne -->
<eb:ConversationId>2014-0001</eb:ConversationId>
<eb:ConversationId>GUID-Conversation-ID</eb:ConversationId>
</eb:CollaborationInfo>
<eb:PayloadInfo>
<eb:PartInfo href="#soapBody"/>
<!-- TODO standardisere cid -->
<!-- TODO standardisere cid ? -->
<eb:PartInfo href="cid:asic"/>
</eb:PayloadInfo>
</eb:UserMessage>
@@ -98,7 +99,7 @@ P/eSbxmlpCIWGeKOtvQlwHWypRc09CjY29rzAjG9Ux4cAfGlYJVgmnaCpfJjvWSVsdH31/iCt5xAEYe7
<Standard>urn:no:difi:sdp:1.0</Standard>
<TypeVersion>1.0</TypeVersion>
<!-- Dette er den reelle unike identifikatoren i SDBH - bør vera GUID! -->
<InstanceIdentifier>2014/001</InstanceIdentifier>
<InstanceIdentifier>GUID-Conversation-ID</InstanceIdentifier>
<Type>Sikkerpost</Type>
<CreationDateAndTime>2013-02-19T05:10:10Z</CreationDateAndTime>
</DocumentIdentification>
@@ -80,7 +80,5 @@ YojsDbob4kf4aA1n1z2Z65LHQ==</ds:SignatureValue>
</eb3:SignalMessage>
</eb3:Messaging>
</S12:Header>
<S12:Body wsu:Id="N10060">
<!-- TODO skal det noe inn her? -->
</S12:Body>
<S12:Body />
</S12:Envelope>
@@ -9,14 +9,11 @@
<eb:Timestamp>2006-10-01T10:01:00</eb:Timestamp>
<eb:MessageId>UUID-4@receiver.example.com</eb:MessageId>
</eb:MessageInfo>
<!-- TODO ser ikke behov for mpc -->
<!-- <eb:PullRequest mpc="http://sender.example.com/mpc123"/> -->
<eb:PullRequest/>
<!-- TODO samsvarer med mpc angitt i første user message -->
<!-- Teknisk avsenders tilgang til mpc verifiseres av meldingsformidler-->
<eb:PullRequest mpc="urn:sdp:avsenderid:12345"/>
</eb:SignalMessage>
</eb:Messaging>
</S12:Header>
<S12:Body>
<!-- TODO hvordan identifisere avsender -->
<!-- Kan eventuelt detaljere PullRequest -->
</S12:Body>
<S12:Body/>
</S12:Envelope>
@@ -0,0 +1,21 @@
<S12:Envelope xmlns:S12="http://www.w3.org/2003/05/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">
<S12:Header>
<wsse:Security S12:mustUnderstand="true">
<!-- TODO -->
</wsse:Security>
<eb:Messaging S12:mustUnderstand="true">
<eb:SignalMessage>
<eb:MessageInfo>
<eb:Timestamp>2014-02-10T15:21:42.821Z</eb:Timestamp>
<eb:MessageId>UUID-6@sender.example.com</eb:MessageId>
<eb:RefToMessageId>UUID-4@receiver.example.com</eb:RefToMessageId>
</eb:MessageInfo>
<eb:Error errorCode="EBMS:0006" severity="warning">
<eb:Description lang="en">EmptyMessagePartitionChannel</eb:Description>
<eb:ErrorDetail>There is no message available for pulling from this MPC at this moment.</eb:ErrorDetail>
</eb:Error>
</eb:SignalMessage>
</eb:Messaging>
</S12:Header>
<S12:Body />
</S12:Envelope>
@@ -4,9 +4,7 @@
<!-- TODO -->
</wsse:Security>
<eb:Messaging S12:mustUnderstand="true">
<!-- TODO ser ikke behov for mpc, kan utelates ref spec-->
<!--<eb:UserMessage mpc="http://sender.example.com/mpc123">-->
<eb:UserMessage>
<eb:UserMessage mpc="urn:sdp:avsenderid:12345">
<eb:MessageInfo>
<eb:Timestamp>2006-10-01T10:02:00</eb:Timestamp>
<eb:MessageId>UUID-5@sender.example.com</eb:MessageId>
@@ -21,23 +19,20 @@
<eb:PartyId>partyId</eb:PartyId>
<eb:Role>role</eb:Role>
</eb:To>
<!-- TODO -->
</eb:PartyInfo>
<eb:CollaborationInfo>
<eb:AgreementRef>agreement</eb:AgreementRef>
<eb:Service>service</eb:Service>
<eb:Action>action</eb:Action>
<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>GUID-Conversation-ID</eb:ConversationId>
</eb:CollaborationInfo>
<eb:PayloadInfo>
<eb:PartInfo href="#soapBody"/>
<!-- TODO -->
</eb:PayloadInfo>
</eb:UserMessage>
</eb:Messaging>
</S12:Header>
<S12:Body xml:id="soapBody">
<!-- TODO er dette ok -->
<StandardBusinessDocument xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">
<StandardBusinessDocumentHeader>
<HeaderVersion>1.0</HeaderVersion>
@@ -53,8 +48,8 @@
<!-- Unik identifikator i "Sender" sitt scope -->
<Standard>urn:no:kommune:leikanger:sdp:barnehage:1.0</Standard>
<TypeVersion>1.0</TypeVersion>
<InstanceIdentifier>2014/001</InstanceIdentifier>
<!-- Dette er den reelle unike identifikatoren i SDBH - bør vera GUID! -->
<InstanceIdentifier>GUID-Conversation-ID</InstanceIdentifier>
<Type>Sikkerpost</Type>
<CreationDateAndTime>2013-02-19T05:10:10Z</CreationDateAndTime>
</DocumentIdentification>

0 comments on commit 0be206c

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