aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/at
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-09 16:12:08 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-09 16:15:45 +0200
commita95679d191c2ac9cd4d61a5848240163e1676495 (patch)
tree57baff67ff870e1130f75027bc097d5c6de4307b /src/test/resources/at
parentf27ff5780d98e747742140c526fb1e3469bb5748 (diff)
downloadmoa-zs-a95679d191c2ac9cd4d61a5848240163e1676495.tar.gz
moa-zs-a95679d191c2ac9cd4d61a5848240163e1676495.tar.bz2
moa-zs-a95679d191c2ac9cd4d61a5848240163e1676495.zip
Reactivate and Fix Unit Tests
- Relax Validation for now by only validating incoming requests.
Diffstat (limited to 'src/test/resources/at')
-rw-r--r--src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingAppDeliveryId.soap75
-rw-r--r--src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingMetaData.soap70
2 files changed, 78 insertions, 67 deletions
diff --git a/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingAppDeliveryId.soap b/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingAppDeliveryId.soap
index e981b31..e481caa 100644
--- a/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingAppDeliveryId.soap
+++ b/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingAppDeliveryId.soap
@@ -9,40 +9,47 @@
<soapenv:Body>
<mzs:DeliveryRequest>
<mzs:Sender>
- <p:CorporateBody>
- <p:FullName>Bundesministerium für Testzwecke</p:FullName>
- </p:CorporateBody>
- <mzs:WebserviceURL>https://authority.gv.at/delivery_notification</mzs:WebserviceURL>
- </mzs:Sender>
- <mzs: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>
- <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>
- </mzs:Receiver>
- <msg:MetaData />
- <mzs:Payload>
- <mzs:DocumentReference>https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3</mzs:DocumentReference>
- <mzs:FileName>brief.xml</mzs:FileName>
- <mzs:MIMEType>text/xml</mzs:MIMEType>
- <msg:CheckSum>
- <msg:AlgorithmID>SHA1</msg:AlgorithmID>
- <msg:Value>9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6</msg:Value>
- </msg:CheckSum>
- <mzs:Size>123401</mzs:Size>
- </mzs:Payload>
+ <p:CorporateBody>
+ <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:FullName>Bundesministerium für Testzwecke</p:FullName>
+ </p:CorporateBody>
+ <mzs:WebserviceURL>https://authority.gv.at/delivery_notification</mzs:WebserviceURL>
+ </mzs:Sender>
+ <mzs: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>
+ <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>
+ </mzs:Receiver>
+ <msg:MetaData>
+ <msg:Subject>WichtigeMitteilung</msg:Subject>
+ <msg:DeliveryQuality>RSa</msg:DeliveryQuality>
+ </msg:MetaData>
+ <mzs:Payload>
+ <mzs:DocumentReference>https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3</mzs:DocumentReference>
+ <mzs:FileName>brief.xml</mzs:FileName>
+ <mzs:MIMEType>text/xml</mzs:MIMEType>
+ <msg:CheckSum>
+ <msg:AlgorithmID>SHA1</msg:AlgorithmID>
+ <msg:Value>9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6</msg:Value>
+ </msg:CheckSum>
+ <mzs:Size>123401</mzs:Size>
+ </mzs:Payload>
</mzs:DeliveryRequest>
</soapenv:Body>
</soapenv:Envelope>
diff --git a/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingMetaData.soap b/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingMetaData.soap
index 4a1e02d..cf55d6d 100644
--- a/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingMetaData.soap
+++ b/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/missingMetaData.soap
@@ -9,39 +9,43 @@
<soapenv:Body>
<mzs:DeliveryRequest>
<mzs:Sender>
- <p:CorporateBody>
- <p:FullName>Bundesministerium für Testzwecke</p:FullName>
- </p:CorporateBody>
- <mzs:WebserviceURL>https://authority.gv.at/delivery_notification</mzs:WebserviceURL>
- </mzs:Sender>
- <mzs: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>
- <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>
- </mzs:Receiver>
- <mzs:Payload>
- <mzs:DocumentReference>https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3</mzs:DocumentReference>
- <mzs:FileName>brief.xml</mzs:FileName>
- <mzs:MIMEType>text/xml</mzs:MIMEType>
- <msg:CheckSum>
- <msg:AlgorithmID>SHA1</msg:AlgorithmID>
- <msg:Value>9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6</msg:Value>
- </msg:CheckSum>
- <mzs:Size>123401</mzs:Size>
- </mzs:Payload>
+ <p:CorporateBody>
+ <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:FullName>Bundesministerium für Testzwecke</p:FullName>
+ </p:CorporateBody>
+ <mzs:WebserviceURL>https://authority.gv.at/delivery_notification</mzs:WebserviceURL>
+ </mzs:Sender>
+ <mzs: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>
+ <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>
+ </mzs:Receiver>
+ <mzs:Payload>
+ <mzs:DocumentReference>https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3</mzs:DocumentReference>
+ <mzs:FileName>brief.xml</mzs:FileName>
+ <mzs:MIMEType>text/xml</mzs:MIMEType>
+ <msg:CheckSum>
+ <msg:AlgorithmID>SHA1</msg:AlgorithmID>
+ <msg:Value>9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6</msg:Value>
+ </msg:CheckSum>
+ <mzs:Size>123401</mzs:Size>
+ </mzs:Payload>
</mzs:DeliveryRequest>
</soapenv:Body>
</soapenv:Envelope>