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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

How to extract fileName from payloadMimeHeaders

  • 1.  How to extract fileName from payloadMimeHeaders

    Posted Thu December 16, 2010 04:55 PM

    Hi,

    I need to extract filename from payloadMimeHeader. Does anyone has a builtin service to extract it.

    The xml looks this way:

    <?xml version="1.0" encoding="UTF-8"?> Text/Plain attachment; filename=[B]ABCDEFGH[/b] &ltDOCOkmsn051a-node2-12c6ddb2ea2-123893456B@abdfegga>

    I want to extract the filename( in above eg: ABCDEFGH). How can I achieve that. Please let me know. Thanks in advance.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: How to extract fileName from payloadMimeHeaders

    Posted Thu December 16, 2010 07:17 PM

    Any Suggestions please…its really urgent. Thanks.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to extract fileName from payloadMimeHeaders

    Posted Mon December 20, 2010 12:22 PM

    Hi,
    Try to use pub.xml:queryXMLNode service you will get “attachment filename=ABCDEFGH” as out put and from there extract the file name value

    provide the input to node to “pub.xml:queryXMLNodeand” query as “doc.IDataXMLCoder[0].record[0].value[1].text” declare one output value
    Thanks
    WMuser80


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: How to extract fileName from payloadMimeHeaders

    Posted Mon December 20, 2010 08:04 PM


  • 5.  RE: How to extract fileName from payloadMimeHeaders

    Posted Fri December 04, 2015 07:19 AM