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.  How do we retrieve "Authorization" header value from a REST call

    Posted 10/09/15 02:46 PM

    I need to retrieve the “Authorization” header value from a REST resource. I tried using pub.flow:getTransportInfo but it does not work for “Authorization”.

    We would get a custom bearer token in the Authorization header and need to validate it.

    When trying to pass the Authorization header, the request if failing with below error message.

    error_description=[ISS.0010.8044] Integration Server rejected the request to access this resource.

    Any advice or suggestions are greatly appreciated.


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: How do we retrieve "Authorization" header value from a REST call

    Posted 10/09/15 04:23 PM

    If you are using https, the authentication info are pass during SSL/TLS handshake, it’s not passed in the http header.
    I guess that’s why you won’t see it.


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How do we retrieve "Authorization" header value from a REST call



  • 4.  RE: How do we retrieve "Authorization" header value from a REST call

    Posted 10/12/15 12:40 PM

    Thanks for the replies. I am trying over http and not using https and it is failing.

    Is there a wmPublic service that i can use to get the header value for Authorization?


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: How do we retrieve "Authorization" header value from a REST call

    Posted 10/12/15 01:34 PM

    Try to increase logging level to debug and try again, you should see more.


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: How do we retrieve "Authorization" header value from a REST call

    Posted 10/12/15 03:31 PM

    What is your IS version that you are trying this test?

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods