aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--curl/request-with-tnvz-q-query/request.xml67
-rwxr-xr-xcurl/request-with-tnvz-q-query/to_container.sh (renamed from curl/send_mzs_dreq_to_container.sh)2
-rwxr-xr-xcurl/request-with-tnvz-q-query/to_standalone.sh (renamed from curl/send_mzs_dreq_to_standalone.sh)2
-rw-r--r--curl/simple-request/request.xml (renamed from curl/mzs-delivery-request.xml)0
-rwxr-xr-xcurl/simple-request/to_container.sh2
-rwxr-xr-xcurl/simple-request/to_standalone.sh2
6 files changed, 73 insertions, 2 deletions
diff --git a/curl/request-with-tnvz-q-query/request.xml b/curl/request-with-tnvz-q-query/request.xml
new file mode 100644
index 0000000..d779eec
--- /dev/null
+++ b/curl/request-with-tnvz-q-query/request.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope
+ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+ xmlns:mzs="http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs#"
+ xmlns:p="http://reference.e-government.gv.at/namespace/zustellung/mzs/persondata#"
+ xmlns:msg="http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#">
+ <soapenv:Body>
+ <mzs:DeliveryRequest>
+ <mzs:Sender>
+ <p:CorporateBody>
+ <p:Identification>
+ <p:Value>9110008961874</p:Value>
+ <p:Type>urn:publicid:gv.at:baseid+XERSB</p:Type>
+ </p:Identification>
+ <p:FullName>TestFirma</p:FullName>
+ </p:CorporateBody>
+ <mzs:WebserviceURL>https://authority.gv.at/delivery_notification</mzs:WebserviceURL>
+ </mzs:Sender>
+ <mzs:Receiver>
+ <p:PhysicalPerson>
+ <p:Name>
+ <p:GivenName>Max</p:GivenName>
+ <p:FamilyName>Mustermann</p:FamilyName>
+ </p:Name>
+ <p:DateOfBirth>1940-01-01</p:DateOfBirth>
+ </p:PhysicalPerson>
+ <msg:AustrianAddressesOnly/>
+ </mzs:Receiver>
+ <msg:MetaData>
+ <msg:AppDeliveryID>delivery-request-id</msg:AppDeliveryID>
+ <msg:Origin>
+ <msg:ParticipantID>AT:B:111</msg:ParticipantID>
+ </msg:Origin>
+ <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:Config>
+ <mzs:PerformQueryPersonRequest>true</mzs:PerformQueryPersonRequest>
+ <mzs:MsgResponseSinks>
+ <mzs:SaveResponseToFile>
+ <mzs:Active>true</mzs:Active>
+ <mzs:Path>tmp/responses</mzs:Path>
+ </mzs:SaveResponseToFile>
+ <mzs:LogResponse>true</mzs:LogResponse>
+ <mzs:ForwardResponseToService>
+ <mzs:Active>false</mzs:Active>
+ <mzs:AppClient>
+ <mzs:URL>http://localhost/appurl</mzs:URL>
+ <mzs:ConnectionTimeout>0</mzs:ConnectionTimeout>
+ <mzs:ReceiveTimeout>0</mzs:ReceiveTimeout>
+ </mzs:AppClient>
+ </mzs:ForwardResponseToService>
+ </mzs:MsgResponseSinks>
+ </mzs:Config>
+ </mzs:DeliveryRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
diff --git a/curl/send_mzs_dreq_to_container.sh b/curl/request-with-tnvz-q-query/to_container.sh
index ce80807..0aff27b 100755
--- a/curl/send_mzs_dreq_to_container.sh
+++ b/curl/request-with-tnvz-q-query/to_container.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-curl -v --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: \"\"" http://localhost:8080/moa-zs/services/mzs --data-binary @mzs-delivery-request.xml
+curl -v --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: \"\"" http://localhost:8080/moa-zs/services/mzs --data-binary @request.xml
diff --git a/curl/send_mzs_dreq_to_standalone.sh b/curl/request-with-tnvz-q-query/to_standalone.sh
index 88c2d96..95ae8c6 100755
--- a/curl/send_mzs_dreq_to_standalone.sh
+++ b/curl/request-with-tnvz-q-query/to_standalone.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-curl -v --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: \"\"" http://localhost:8080/services/mzs --data-binary @mzs-delivery-request.xml
+curl -v --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: \"\"" http://localhost:8080/services/mzs --data-binary @request.xml
diff --git a/curl/mzs-delivery-request.xml b/curl/simple-request/request.xml
index 88a43e4..88a43e4 100644
--- a/curl/mzs-delivery-request.xml
+++ b/curl/simple-request/request.xml
diff --git a/curl/simple-request/to_container.sh b/curl/simple-request/to_container.sh
new file mode 100755
index 0000000..0aff27b
--- /dev/null
+++ b/curl/simple-request/to_container.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+curl -v --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: \"\"" http://localhost:8080/moa-zs/services/mzs --data-binary @request.xml
diff --git a/curl/simple-request/to_standalone.sh b/curl/simple-request/to_standalone.sh
new file mode 100755
index 0000000..95ae8c6
--- /dev/null
+++ b/curl/simple-request/to_standalone.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+curl -v --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: \"\"" http://localhost:8080/services/mzs --data-binary @request.xml