IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Receiving MIME message on TN

  • 1.  Receiving MIME message on TN

    Posted Tue February 10, 2009 02:50 PM

    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!


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Receiving MIME message on TN

    Posted Wed February 11, 2009 12:42 PM

    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


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB