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

webMethods Multi-part request has (listAttachments and json fields)

  • 1.  webMethods Multi-part request has (listAttachments and json fields)

    Posted Tue April 11, 2023 03:56 AM

    Hi All,
    I have an integration CR and the provider system give me below SS to handle this part from my side.
    Questions:

    1. How to handle multi-part List attachmets with Json fields
    2. is it better to provode the consumer with mimeStream or json body


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: webMethods Multi-part request has (listAttachments and json fields)

    Posted Tue April 11, 2023 04:26 AM

    Hi,

    This is a multipart content, so you need to either register a multipart content handler into IS and use that or easiest way is to use the existing Integration Server pub.mime.* services to decode this response.

    Thanks


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: webMethods Multi-part request has (listAttachments and json fields)

    Posted Tue April 11, 2023 05:10 AM

    Hi Prasanta,
    Could you please advise how handle List Attachments part and json parameters part


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: webMethods Multi-part request has (listAttachments and json fields)

    Posted Tue April 11, 2023 05:52 AM

    Hi,

    Actually I don’t have any sample flow with me, what you have to try is, after using the pub.mime services, you will get the part content and than use the usual IS public services like jsonToDocument to get IData from the Json context etc.

    Thanks


    #Integration-Server-and-ESB
    #webMethods