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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Using request process in sequence to modify the native URL

    Posted 03/20/20 06:01 AM

    Hi,

    Is it possible to use Request Transformation policy in sequence? I want to transform incoming request in multiple phases, this would improve re-usability. My requirement is as below:

    First request transformation: Assume based on some condition the will be hardcoded - there will be multiple request transformations addressing the update of , the ${request.path.id} will be extracted from incoming request.

    Variable: ${request.path}
    Value: /drives//${request.path.id}

    Second request transformation: The objective here is to evaluate incoming request on some other conditions and then append additional path to the ‘First request’ transformation. Note: In actual implementation i am seeing appending one of the following ‘listitem/fields’, ‘content’, ‘fields’. Essentially this would be limited in number, however if i combine this with First Request transformation then the possibilities will increase by several fold, having sequential transformation will help in this regard.

    Variable: ${request.path}
    Value: {previous native transformation} + “/listitem/fields”

    Is the above possible? If not please suggest alternative, a solution other than using IS Service would be preferred.

    Regards
    SPM


    #API-Management
    #webMethods
    #API-Gateway


  • 2.  RE: Using request process in sequence to modify the native URL

    Posted 03/20/20 07:40 AM

    Hi Manjunath,

    Order of execution of policy actions in a stage is not guaranteed by API Gateway.


    #webMethods
    #API-Gateway
    #API-Management


  • 3.  RE: Using request process in sequence to modify the native URL

    Posted 03/20/20 07:43 AM

    Thanks Vallab. is there an alternative solution? Considering reusability.


    #webMethods
    #API-Gateway
    #API-Management


  • 4.  RE: Using request process in sequence to modify the native URL

    Posted 03/20/20 08:11 AM

    If your transformations are complex to execute in single policy, you can use Invoke IS Service or Custom policy to execute complex transformations in single policy.


    #webMethods
    #API-Gateway
    #API-Management