Thanks for the replies.
I went through MtomStreamingSample package.
The provider web service contains 2 string params
1.PayloadName (In soapUI request, it contains the name of attachment as CID:)
2.AttachmentFile (Optional Field and Not Used in the soapUI request)
As I can’t import this string based WSDL directly in WBM to pass MTOM, I updated WSDL for these 2 fields from string to base64Binary and imported it.
Created MTOM object for the file to be attached in flow service and mapped it to base64Binary field
And also, I set “Attachment Enabled” to TRUE in webservice consumer.
When I submit the request, I’m receiving the response as “Payload name did not mached with attached payload….”
Looking for options on how/where to send the file name for attachment when we set Attachment Enabled to TRUE.