When it executing we are getting HTTP Status 401 - Authentication required error.
Same shell script are available in main workflow shell action and its working fine and returns us response.
Only we have problem when executing from subworkflow..
"Our obseration" is before each submittion of oozie job we do kinit. so main workflow taking the credentails from kinit. But in the subworkflow the main workflow is the user who submits the job may be due to this the credentials are lost.