This is completely optional and even for soap or JSON post is set via URL parameter.  http://WsEcl/submit/query/mycluster/myquery?_jobname=mywuname