From 2de8749beed9373ae26daabcbd47ec5d020cc093 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Mon, 7 Oct 2019 13:59:19 +0200 Subject: Add tnvz-q Example to curl Folder --- curl/mzs-delivery-request.xml | 75 ------------------------- curl/request-with-tnvz-q-query/request.xml | 67 ++++++++++++++++++++++ curl/request-with-tnvz-q-query/to_container.sh | 2 + curl/request-with-tnvz-q-query/to_standalone.sh | 2 + curl/send_mzs_dreq_to_container.sh | 2 - curl/send_mzs_dreq_to_standalone.sh | 2 - curl/simple-request/request.xml | 75 +++++++++++++++++++++++++ curl/simple-request/to_container.sh | 2 + curl/simple-request/to_standalone.sh | 2 + 9 files changed, 150 insertions(+), 79 deletions(-) delete mode 100644 curl/mzs-delivery-request.xml create mode 100644 curl/request-with-tnvz-q-query/request.xml create mode 100755 curl/request-with-tnvz-q-query/to_container.sh create mode 100755 curl/request-with-tnvz-q-query/to_standalone.sh delete mode 100755 curl/send_mzs_dreq_to_container.sh delete mode 100755 curl/send_mzs_dreq_to_standalone.sh create mode 100644 curl/simple-request/request.xml create mode 100755 curl/simple-request/to_container.sh create mode 100755 curl/simple-request/to_standalone.sh diff --git a/curl/mzs-delivery-request.xml b/curl/mzs-delivery-request.xml deleted file mode 100644 index 88a43e4..0000000 --- a/curl/mzs-delivery-request.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - kkvj693+tw99uW8UPuEK9en1LzZItkylPajkUUyJJDWQB78VGPkAuhCEk+TD12yQDD/WRglsf+JfQpjubIs/4l/ptluJ9teF3nwkNlu5Dm7mIjzgW1qxrDyomCmPvVxTWOCBuMUbOWRZBhOq+KvDQAu9Vv9KnqSfjYeDZrpHYu4= - urn:publicid:gv:at:cemtoken - - Bundesministerium für Testzwecke - - https://authority.gv.at/delivery_notification - - - - - Max - Mustermann - - 1940-01-01 - - - AT - 1010 - Wien - - Muststrasse - 10 - - - - - delivery-request-id - - VKABC - - WichtigeMitteilung - RSa - - - https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3 - brief.xml - text/xml - - SHA1 - 9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6 - - 123401 - - - false - - - true - tmp/responses - - true - - false - - http://localhost/appurl - 0 - 0 - - - - - - - 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 @@ + + + + + + + + 9110008961874 + urn:publicid:gv.at:baseid+XERSB + + TestFirma + + https://authority.gv.at/delivery_notification + + + + + Max + Mustermann + + 1940-01-01 + + + + + delivery-request-id + + AT:B:111 + + WichtigeMitteilung + RSa + + + https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3 + brief.xml + text/xml + + SHA1 + 9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6 + + 123401 + + + true + + + true + tmp/responses + + true + + false + + http://localhost/appurl + 0 + 0 + + + + + + + diff --git a/curl/request-with-tnvz-q-query/to_container.sh b/curl/request-with-tnvz-q-query/to_container.sh new file mode 100755 index 0000000..0aff27b --- /dev/null +++ b/curl/request-with-tnvz-q-query/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/request-with-tnvz-q-query/to_standalone.sh b/curl/request-with-tnvz-q-query/to_standalone.sh new file mode 100755 index 0000000..95ae8c6 --- /dev/null +++ b/curl/request-with-tnvz-q-query/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 diff --git a/curl/send_mzs_dreq_to_container.sh b/curl/send_mzs_dreq_to_container.sh deleted file mode 100755 index ce80807..0000000 --- a/curl/send_mzs_dreq_to_container.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/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 diff --git a/curl/send_mzs_dreq_to_standalone.sh b/curl/send_mzs_dreq_to_standalone.sh deleted file mode 100755 index 88c2d96..0000000 --- a/curl/send_mzs_dreq_to_standalone.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/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 diff --git a/curl/simple-request/request.xml b/curl/simple-request/request.xml new file mode 100644 index 0000000..88a43e4 --- /dev/null +++ b/curl/simple-request/request.xml @@ -0,0 +1,75 @@ + + + + + + + + kkvj693+tw99uW8UPuEK9en1LzZItkylPajkUUyJJDWQB78VGPkAuhCEk+TD12yQDD/WRglsf+JfQpjubIs/4l/ptluJ9teF3nwkNlu5Dm7mIjzgW1qxrDyomCmPvVxTWOCBuMUbOWRZBhOq+KvDQAu9Vv9KnqSfjYeDZrpHYu4= + urn:publicid:gv:at:cemtoken + + Bundesministerium für Testzwecke + + https://authority.gv.at/delivery_notification + + + + + Max + Mustermann + + 1940-01-01 + + + AT + 1010 + Wien + + Muststrasse + 10 + + + + + delivery-request-id + + VKABC + + WichtigeMitteilung + RSa + + + https://authority.gv.at/files/73bdf969781ba41fa07df1ff8439cf685c0db1c3 + brief.xml + text/xml + + SHA1 + 9b972c70fdaf5e1b26b3387c87b0ffb72e5940b6 + + 123401 + + + false + + + true + tmp/responses + + true + + false + + http://localhost/appurl + 0 + 0 + + + + + + + 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 -- cgit v1.2.3