Forum Stats

  • 3,825,053 Users
  • 2,260,461 Discussions
  • 7,896,399 Comments

Discussions

11g SOA - Unix curl command script is not executing from the SOA application

I am executing one shell script ,which contain below curl command.

FIRST=<span>curl -k -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'How-Many: 1' -d '{"filters": { "jobstreamFilter": { "jobStreamName":"'$JOBSTREAM_NAME'","workstationName": "'$WORKSTATION_NAME'"}}}' </span><a class="jive-link-external-small" href="https://$IWA_HOST:31116/twsd/model/jobstream/header/query" rel="nofollow">https://$IWA_HOST:31116/twsd/model/jobstream/header/query</a><span> -H "Authorization: Basic $CREDS"</span>

When I executing the shell script from CLI its working fine ,but when i calling the script from the application ,this curl command not being executed ,but rest all the echo statement in the script are printing except FIRST

Kindly advise.