Receiving MIME message on TN

Hello All,

We are receiving a multipart MIME message stream - which contains XML data and PDF attachments on Trading Networks via https (/invoke/wm.tn/receive)

TN is not able to handle the MIME message. We have created document type and processing rule which will extract data from XML part of this message to recognise and process it. But document is not recognised by TN and hence not processed.

We need to use the XML and the attachments in the application (flow services are written to send it to backend systems)

How MIME messages can be handled in TN? Can we extract the attachments in TN?

Thanks in Advance!

Use a wrapper service to receive the MIME from your client. Parse the contents (if a multipart content handler is installed then it will do the job for you) and then pass the XML data to TN using tn:receive.

Cheers
Guna