App Connect

 View Only
Expand all | Collapse all

RestAsyncRequest node and LocalEnvironment override

  • 1.  RestAsyncRequest node and LocalEnvironment override

    Posted Thu September 16, 2021 12:43 PM
    Edited by Martin Citron Thu September 16, 2021 12:44 PM
    Hi,

    we are facing a problem when overriding BaseURL of RestAsync Request node using LocalEnvironment (Using local environment variables with REST nodes). Documentation says that it should be possible, but if we set appropriate LocalEnvironment path, the Request node does not reflect it. Did anyone encounter same problem? We use IIB v10.0.0.19.

    Thanks,

    Martin

    ------------------------------
    Martin Citron
    Prague
    ------------------------------


  • 2.  RE: RestAsyncRequest node and LocalEnvironment override

    Posted Thu September 16, 2021 03:40 PM
    I've just tried this with 10.0.0.22 and it seems to be working as long as I set BaseURL as follows

    SET OutputLocalEnvironment.Destination.REST.Request.BaseURL = 'http://something.hursley.ibm.com/customerdb/v1';

    in a Compute node before the RestAsyncRequest node, and also set the "Compute mode" property to "LocalEnvironment and Message" (which I often forget!).

    Hope this helps - might be worth opening a case if it doesn't work for you.