aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/at/gv/egiz/moazs
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-20 08:18:53 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-20 08:18:53 +0200
commit96f82d09c22853ce3b37db0983ce6ccc34c2587f (patch)
treebc256e9314cc28f3730467b56d310a048a1adce8 /src/test/resources/at/gv/egiz/moazs
parentaff7c021e37e64162ce4e3fe5abd419072fb464f (diff)
downloadmoa-zs-96f82d09c22853ce3b37db0983ce6ccc34c2587f.tar.gz
moa-zs-96f82d09c22853ce3b37db0983ce6ccc34c2587f.tar.bz2
moa-zs-96f82d09c22853ce3b37db0983ce6ccc34c2587f.zip
Add Testcase for MsgClient
Diffstat (limited to 'src/test/resources/at/gv/egiz/moazs')
-rw-r--r--src/test/resources/at/gv/egiz/moazs/MsgClientTest/validDeliveryRequest.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/test/resources/at/gv/egiz/moazs/MsgClientTest/validDeliveryRequest.xml b/src/test/resources/at/gv/egiz/moazs/MsgClientTest/validDeliveryRequest.xml
new file mode 100644
index 0000000..f1879eb
--- /dev/null
+++ b/src/test/resources/at/gv/egiz/moazs/MsgClientTest/validDeliveryRequest.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<DeliveryRequest Version="2.0.0"
+ xmlns="http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#"
+ xmlns:p="http://reference.e-government.gv.at/namespace/persondata/phase2/20181206#">
+ <Sender>
+ <SenderCorporateBody>
+ <p:Identification>
+ <p:Value>kkvj693+tw99uW8UPuEK9en1LzZItkylPajkUUyJJDWQB78VGPkAuhCEk+TD12yQDD/WRglsf+JfQpjubIs/4l/ptluJ9teF3nwkNlu5Dm7mIjzgW1qxrDyomCmPvVxTWOCBuMUbOWRZBhOq+KvDQAu9Vv9KnqSfjYeDZrpHYu4=</p:Value>
+ <p:Type>urn:publicid:gv:at:cemtoken</p:Type>
+ </p:Identification>
+ <p:CorporateBody>
+ <p:FullName>Bundesministerium für Testzwecke</p:FullName>
+ </p:CorporateBody>
+ </SenderCorporateBody>
+ <ConfirmationAddress>
+ <WebserviceURL>
+ <p:Address>https://authority.gv.at/delivery_notification</p:Address>
+ </WebserviceURL>
+ </ConfirmationAddress>
+ </Sender>
+ <Receiver>
+ <p:PhysicalPerson>
+ <p:Name>
+ <p:GivenName>Maxi</p:GivenName>
+ <p:FamilyName>Mustermann1</p:FamilyName>
+ </p:Name>
+ <p:DateOfBirth>1984-01-24</p:DateOfBirth>
+ </p:PhysicalPerson>
+ <p:PostalAddress type="undefined">
+ <p:CountryCode>AT</p:CountryCode>
+ <p:PostalCode>1010</p:PostalCode>
+ <p:Municipality>Wien</p:Municipality>
+ <p:DeliveryAddress>
+ <p:StreetName>Muststrasse</p:StreetName>
+ <p:BuildingNumber>10</p:BuildingNumber>
+ </p:DeliveryAddress>
+ </p:PostalAddress>
+ </Receiver>
+ <MetaData>
+ <AppDeliveryID>valid-delivery-request-id</AppDeliveryID>
+ <Subject>WichtigeMitteilung</Subject>
+ <DeliveryQuality>RSa</DeliveryQuality>
+ </MetaData>
+ <Attachments>
+ <Attachment>
+ <FileName>brief.xml</FileName>
+ <MimeType>text/xml</MimeType>
+ <Size>123401</Size>
+ <CheckSum>
+ <AlgorithmID>SHA1</AlgorithmID>
+ <Value>9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6</Value>
+ </CheckSum>
+ <URL>https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3</URL>
+ </Attachment>
+ </Attachments>
+</DeliveryRequest> \ No newline at end of file