i'm not a Java expert, but I think you want this:
H DFTACTGRP(*NO) ACTGRP('DHANU')
D rc s 10i 0
D SendFile s 5000a varying
D RecvFile s 5000a varying
SendFile = '/path/to/bulk.xml';
RecvFile = '/tmp/result.txt';
rc = http_post_stmf( 'ht tp://xx.xx.xx.xx/sms/send/bulk/sms.do'
: 'text/xml;charset=UTF-8' );
if rc <> 1;
*inlr = *on;
EDIT: You'll have to remove the space between "ht" and "tp" in the above code snippet. I had to add it to keep the forum software from mangling the code.