SAP Business connector sending XML data

Dear all,

I am using an RFC to transfer the data from SAP R/3 to web server. I have to send the data to web server URl in the below format.

I am getting data in RFC sttructure, Now I need to change the above data into XMl and hence need to compress. T

he requirement as below:
The XML message is signed, encoded in base64.
Signed and encoded XML message is compressed in GZIP format.

Can u please share your ideas.

Thanks and regards,