server-sdk/test/data/soap/bankapi.sh
2019-11-08 13:32:34 +01:00

15 lines
399 B
Bash
Executable File

#!/bin/bash
# @see https://stackoverflow.com/a/55352633/1917249
ACTION_YOU_WANT_TO_CALL="blz:getBank"
XMLFILENAME=test03.xml
URL_OF_THE_SOAP_WEB_SERVICE_ENDPOINT="http://www.thomas-bayer.com/axis2/services/BLZService"
curl -X POST $URL_OF_THE_SOAP_WEB_SERVICE_ENDPOINT \
-H 'Content-Type: text/xml' \
-H 'SOAPAction: $ACTION_YOU_WANT_TO_CALL' \
--data @$XMLFILENAME > test03-response.xml