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.  URL Alias with path variable

    Posted Tue June 19, 2018 10:04 AM

    Hi,

    I’m currently exploring the API Gateway particularly in creating URL Aliases. My current IS version is 10.1.

    This is my goal, I want to mask the URL of my API

    from
    http://:/myApiName/v1/resource/{varPath}
    to
    http://:/resource/{varPath}

    Here are my challenges,

    • I created an alias in the API Gateway UI but the alias doesn’t take effect. So, I went to the IS of the API Gateway and add the URL Alias there. After that the URL Alias works.

    • When having a dynamic variable path in my URL, the varPath is treated as if its part of the URL Alias, Hence the API Gateway returns

    Object Not Found ( /resource/testVarPath)

    where “testVarPath” is the variable Path for my API.

    Please help :slight_smile:

    Thanks


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: URL Alias with path variable

    Posted Wed June 20, 2018 03:32 AM

    Upon Exploring, i found this article that solved my problem:

    I just have to add the extended setting
    watt.server.url.alias.partialMatching=true


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 3.  RE: URL Alias with path variable

    Posted Fri July 06, 2018 07:48 AM

    Hello Jay Mark Domugho

    I would like to delete the “/gateway” in the URL: https: // apigatewayhost / gateway / myApiName

    I want to hide the URL of my API:

    from
    http: // /gateway/myApiName
    to
    http: // /myApiName

    I tried to follow the same procedure as you, creating an alias and changing the watt.server.url.alias.partialMatching parameter to true, but the call is still done via the old URL.

    Do you have an idea about that?

    Thanks in advance


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods