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
  • 1.  drop response

    Posted Thu September 19, 2019 09:10 AM

    Hi

    Is there any easy way in API GW 10.3 to drop the response i get from a native service, I just want to send the response code back to my consumer?


    #API-Management
    #API-Gateway
    #webMethods


  • 2.  RE: drop response

    Posted Thu September 19, 2019 09:29 AM

    Hi Johnson,
    You can use response transformation policy to drop your response. Please go through the below article for more details on the transformation policy

    http://techcommunity.softwareag.com/pwiki/-/wiki/Main/Request%20and%20Response%20Transformation%20policies%20in%20API%20Gateway


    #API-Management
    #API-Gateway
    #webMethods


  • 3.  RE: drop response

    Posted Thu September 19, 2019 05:01 PM

    Hi Johnson,

    While Request/Response transformation policy is a great way to modify the request/response elements such as headers, query paramters, path parameters, HTTP methods, it doesn’t support modifying/dropping the request/response payload.

    For modifying the payload you can use the “Invoke webMethods IS” policy or use the “webMethods IS Service” option under “Advanced Transformation” section of Request/Response transformation policies.

    “Invoke webMethods IS” policy is in API Gateway since the beginning, but from version 10.2, the modification of elements such as headers, query parameters, path parameters, HTTP methods, payload etc, has become much more simpler.

    Refer http://techcommunity.softwareag.com/pwiki/-/wiki/Main/Invoke%20webMethods%20IS%20policy%20in%20API%20Gateway%2010.2 for more details on this.

    Regards,
    Vallab


    #webMethods
    #API-Gateway
    #API-Management


  • 4.  RE: drop response

    Posted Fri September 20, 2019 06:15 AM

    Hi Chandrasekaran,

    Thanks for your feedback.

    I was hoping to handle this without using any IS service for such a relativly easy task, but I will try it out then.

    As you mentioned I didnt find any good way to use the trasformation policy for this.

    Regards


    #API-Gateway
    #webMethods
    #API-Management