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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Unable to invoke IS API service http://{host:port}/accounts/v1/${sys:resource_path} from gateway in straight through routing

  • 1.  Unable to invoke IS API service http://{host:port}/accounts/v1/${sys:resource_path} from gateway in straight through routing

    Posted Fri May 03, 2024 07:33 AM

    Product/components used and version/fix level:

    API Gateway and IS installed as remote servers in same network.

    Detailed explanation of the problem:

    When trying to invoke rest resource from IS through API gateway unable to invoke IS resource service in postman below is error.
    Is there any way to invoke rather than making resource operation ACL as Anonymous, When made Anonymous it’s working as expected.

    Error messages / full error message screenshot / log file:

    “API Gateway encountered an error. Error Message: Native service provider error. Code : 401. Request Details: Service - Accounts,”

    Question related to a free trial, or to a production (customer) instance?


    #API-Gateway
    #API-Management
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Unable to invoke IS API service http://{host:port}/accounts/v1/${sys:resource_path} from gateway in straight through routing

    Posted Fri May 03, 2024 10:17 AM

    HTTP 401 means you’re not presenting credentials when calling the API exposed by the IS.
    A convenient way of configuring the gateway to present these credentials is to configure an “Outbound Auth - Transport” policy. See the attached screenshot.
    All this can be “externalized” using an alias of type “HTTP Transport security alias”.


    #Integration-Server-and-ESB
    #webMethods
    #API-Gateway
    #API-Management


  • 3.  RE: Unable to invoke IS API service http://{host:port}/accounts/v1/${sys:resource_path} from gateway in straight through routing

    Posted Mon May 06, 2024 01:37 AM

    Thank you so much Stephane.
    Solution Provided by you worked.
    Here we can add any authentication scheme present that is supported by native resource server and APIGW.


    #webMethods
    #Integration-Server-and-ESB
    #API-Management
    #API-Gateway