1

Errors while invoking Web service using `Curl` command from Unix terminal

view story
linux-howto

http://unix.stackexchange.com – I have been trying to invoke a web service from my script using the Curl command . I got the script from HERE. My Script : #! /bin/sh ENDPOINT="http://mathertel.de/AJAXEngine/S01_AsyncSamples/CalcService.asmx" VALUE=1234567890 if [ -n "${1}" ]; then VALUE=${1} fi curl --silent \\ --data \\ @- \\ --header 'Content-Type: application/soap+xml; charset=utf-8' \\ --user-agent "" \\ ${ENDPOINT} <<EOF | xmllint --format - <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="ht (HowTos)