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
  • 1.  Retrieve Query Parameter From REST URL

    Posted Sun July 08, 2018 06:10 AM

    Hello Experts,

    Could you please guide any graceful way to get the query parameters from the request string?

    Suppose the query string is: key1=value1&key2=value2&key3=value3…

    I just need to get the value for key2, and the order of the key/value pair is not defined.

    Do we have any service if i just say getParameter(key) it’s going to produce the value if present else null.

    Regards
    Sasa


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Retrieve Query Parameter From REST URL

    Posted Tue July 10, 2018 04:33 AM

    Can you provide more details about this sort of request, try to understand the underlying issues if any. May be there is another way of doing this.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Retrieve Query Parameter From REST URL

    Posted Tue July 10, 2018 03:04 PM

    Can you provide a bit more context? Are you exposing a service that accepts a number of parameters? If so, declare them as inputs of the service. The rest directive handler will parse the URL parameters for you and they will be available in the pipeline.


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Retrieve Query Parameter From REST URL

    Posted Wed July 11, 2018 08:30 AM

    You are awasome Rob!!, Many thanks for your suggestion.

    Regards
    Sasa


    #Integration-Server-and-ESB
    #webMethods