Retrieve attachments from request through http post

We have a requirement to extract the attachments(which are optional) from the request submitted by client through http post.

Our service accepts xml data as a payload. watt.server.http.xmlFormat property is left with default value. hence i always receive the input in node format, which am trying to convert to doc and proceed with further steps.

I do see the file name, content-type etc using getTransportInfo service in http/requestHdrs. But i couldn’t see any hint to extract file content.

I tried to use MTOM streaming and extract the file content using ‘pub.soap.utils:getXOPObjectContent’, but looks like it works for soap, not for http calls.

Would like to understand if any one come across similar problem, if so please share your suggestions.

Thanks,
Supriya.