webMethods

webMethods

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
Expand all | Collapse all

Using custom context variable in routing endpoint

  • 1.  Using custom context variable in routing endpoint

    Posted Mon October 06, 2014 06:19 PM

    I have a Virtual REST Service that calls an IS service in the Request Processing step, which creates a custom context variable using the declarContextVariable and setContextVariable services. I want to use the value of this custom context variable as the endpoint in the Routing Protocols step. I have Routing Type set to Straight Through, and I set the endpoint as $mx:CUSTOM_ENDPOINTURL to access the custom context variable that was created in request processing. I am getting the following error, Mediator outbound client encountered error:Transport out has not been set.

    The context variable seems to be getting set properly because I can access it by calling the getContextVariable service. Am I using improper syntax in the endpoint reference or is there something else?

    Thanks,
    Brian


    #webMethods-X-Broker-Mediator-Forum
    #API-Management
    #webMethods


  • 2.  RE: Using custom context variable in routing endpoint

    Posted Mon June 29, 2015 08:20 AM

    Hi i have table and the fields are stuFirstName,stuLastName,Id. i nedd to update table with where condition. tell me the where condtion to do…


    #webMethods-X-Broker-Mediator-Forum
    #webMethods
    #API-Management


  • 3.  RE: Using custom context variable in routing endpoint

    Posted Tue June 30, 2015 04:07 AM

    Use update adapter service template of JDBC.


    #webMethods-X-Broker-Mediator-Forum
    #API-Management
    #webMethods