To Check Folder :
if [ -d "/path/to/dir" ]
then
echo "Directory /path/to/dir exists."
else
echo "Error: Directory /path/to/dir does not exists."
fi
To Check WSDL :
Status = `curl -Is http://localhost:port/sampleservice?wsdl | head -n 1 | cut -d ' ' -f 2`
It will provide HTTP response code.
Sample CRL Command to POST XML:
curl -v -X POST --key key_file_name.key -vvv --cert cer_file_name.cer -H "Content-Type: application/xml" -H "Accept: application/xml" --data @XXSCM_ONHAND_AVAILABI_INTG.txt https://hostname:8045/ax.paas/ic/ws/integration/v1/flows/soap/XXSCM_ONHAND_AVAILABI_INTG/1.0/
No comments:
Post a Comment