API Connect

API Connect

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
  • 1.  Split the xml and send to backends

    Posted Fri November 18, 2022 01:49 PM
    We have requirement where  a big request xml payload coming in which needs to be split into multiple small XML and send to back-end one by one .
    Can you pls suggest how to achieve this .

    ------------------------------
    mayur gharat
    ------------------------------


  • 2.  RE: Split the xml and send to backends

    Posted Tue November 22, 2022 03:10 PM
    Several policies could achieve breaking up the xml payload.  Gateway script, Map, or XSLT could be used to divide the initial payload into several context variables.  Please see https://www.ibm.com/docs/en/api-connect/10.0.1.x?topic=constructs-built-in-policies for built in policy types and descriptions.  Once the context variables are set you can use a series of invokes to send each xml part in order.

    ------------------------------
    CHARLES COBLE
    ------------------------------