Skip to content
Permalink
Browse files

Nye typer: Tilbaketrekking, og Tilbaketrekkingsresultat for Kvitterin…

…g. Oppdatert eksempler.
  • Loading branch information...
runeflobakk committed May 13, 2014
1 parent c8b4e1b commit 67f9e63ed3724cddb520ba28d1ead078f1fcf94e
Showing with 96 additions and 0 deletions.
  1. +57 −0 eksempler/sdpKvittering-tilbaketrekking.xml
  2. +20 −0 xsd/sdp-kvittering.xsd
  3. +19 −0 xsd/sdp-melding.xsd
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<kvittering xmlns="http://begrep.difi.no/sdp/schema_v10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://begrep.difi.no/sdp/schema_v10 ../xsd/sdp-kvittering.xsd ">

<konversasjonsId>00c5ae20-da79-11e3-9c1a-0800200c9a66</konversasjonsId>

<signatur>
<SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" />
<Reference URI="">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" />
<DigestValue>uooqbWYa5VCqcJCbuymBKqm17vY=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue xmlns="http://www.w3.org/2000/09/xmldsig#">KedJuTob5gtvYx9qM3k3gm7kbLBwVbEQRl26S2tmXjqNND7MRGtoew==</SignatureValue>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIElTCCA32gAwIBAgIDDUL8MA0GCSqGSIb3DQEBBQUAMEsxCzAJBgNVBAYTAk5P
MR0wGwYDVQQKDBRCdXlwYXNzIEFTLTk4MzE2MzMyNzEdMBsGA1UEAwwUQnV5cGFz
cyBDbGFzcyAzIENBIDEwHhcNMTEw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b2NzcC9CUENsYXNzM0NBMTANBgkqhkiG9w0B
AQUFAAOCAQEAivJd3hg5+16QOv638JlKixMivlZjbtAj8TGDKhnB6sXBw4bNbHQS
GDVdO07JKzBeYcohiYKPSn6+6NAEhJaetwVrhZgMQxNluUSOj+KSxzVVD6NLC3ga
wswK6i3OruBvpynXViNVCTjlmQzi/4pp5NjRNFcbJrfeONZwzClmIqhJorDqhw2T
/55OBEC+FxtQ9bEFBwHT0Qrx4L+HHJP7Vkk0CLWY5Ib89PZHFke/X/ad/HEla8F3
UjKB02xxs2OKEmE0gQrn3SYjOtONfQDK377RiQPiY3eKV4CBVUcidbfqPyjY/rbZ
TaPOXIYao3VFv6RCTO80zn1qw1JqGvDgNg==
</X509Certificate>
</X509Data>
</KeyInfo>
</signatur>

<tidspunkt>2014-05-19T12:00:00</tidspunkt>
<tilbaketrekking>
<status>OK</status>
<beskrivelse>Meldingen er satt i karantene og vil ikke vises for mottaker.</beskrivelse>
</tilbaketrekking>

</kvittering>
@@ -18,6 +18,7 @@
<xsd:element name="levering" type="Levering"/>
<xsd:element name="aapning" type="Aapning"/>
<xsd:element name="varslingfeilet" type="Varslingfeilet"/>
<xsd:element name="tilbaketrekking" type="Tilbaketrekkingsresultat" />
</xsd:choice>
</xsd:sequence>
</xsd:extension>
@@ -58,6 +59,25 @@
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="Tilbaketrekkingsresultat">
<xsd:annotation>
<xsd:documentation>
Kvitteringen gir informasjon om DigitalPost som ble forespurt tilbaketrukket
ble satt i karantene eller ikke.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="status" type="Tilbaketrekkingsstatus" minOccurs="1" maxOccurs="1"/>
<xsd:element name="beskrivelse" type="Beskrivelse" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="Tilbaketrekkingsstatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="OK" />
<xsd:enumeration value="FEILET" />
</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="Beskrivelse">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1000"/>
@@ -14,6 +14,10 @@


<xsd:element name="digitalPost" type="DigitalPost" />
<xsd:element name="tilbaketrekking" type="Tilbaketrekking" />



<xsd:complexType name="DigitalPost" >
<xsd:annotation>
<xsd:documentation>
@@ -48,6 +52,21 @@
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="Tilbaketrekking">
<xsd:annotation>
<xsd:documentation>
Meldingen sendes dersom det oppdages alvorlig feil i en DigitalPost. Dette kan f.eks. være
dersom DigitalPost er sendt til feil Mottaker. Ved feilforsendelser tilbyr postkasseleverandørene
mulighet for, på bakgrunn av konversasjonsId, at dokumenter kan trekkes tilbake av avsender. Hvis
tilbaketrekking skjer innen virkningsdato er inntruffet, vil dokumentet bli fjernet fra
mottakerens postkasse.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="Melding" />
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="Repetisjoner">
<xsd:sequence>
<xsd:element name="dagerEtter" minOccurs="1" maxOccurs="10">

0 comments on commit 67f9e63

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