I am developing a WSP in DataPower which receives a XML message as response. I have to convert the XML message into a SOAP response and add an attachment to it. After adding the attachment the SOAP with attachment shall be converted into MTOM format and passed.
I am able to convert the request to a SOAP message by building a wrapper around it. Could you please guide me in achieving the remaining of the requirement i.e., adding the payload and converting it into MTOM.
I tried using the xml2swa.xsl from https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014878439 but it is not helping out as I am using XB60 and it does not have a XML Gateway.