Skip to Content
avatar image
Former Member

Dynamic URL in HTTP_AAE PO 7.40


My Scenario is proxy to Third party and its Sync. I have to use the dynamic URL. I am not sure if I should use HTTP_AAE or REST as I need to use POST. I am trying to use HTTP_AAE and using the below UDF.

//Get the dynamic configuration from the container DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); // beginning of setHttpHeader d2a0e4bf0852e83b928c90e621036c29 String funcName = "updateHttpURL"; // get trace object using container AbstractTrace trace = container.getTrace(); trace.addInfo(funcName + "called with value - 1" ); //Create the TServerLocation key in namespace This key will hold the dynamically created URL DynamicConfigurationKey key = DynamicConfigurationKey.create("", "urlParamOne"); //Put the url value from the input in the configuration under the specified key conf.put(key, url); //return the data for mapping to the output return data;

MY CC config is

I am now getting an error ERROR_SENDING_HTTP_REQUEST-Message Processing Failed. Reason : 192

Obviously its not taking the dynamic IP.

Please suggest.

1.jpg (74.0 kB)
2.jpg (84.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 10, 2017 at 03:39 PM


    I believe HTTP_AAE adapter doesn't support Dynamic URL . Only Dynamic Query parameters is possible via HTTP_AAE.

    1742088 - FAQ: PI 7.30 / PI 7.31 HTTP_AAE Adapter

    • Q4: Is it possible to send the Host & Port details HTTP_AAE adapter to form an HTTP URL(using Dynamic Configuration)?

    A: It is not possible to make use of Dynamic Configuration to send host & port to form HTTP URL.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Manoj K

      Hi Manoj,

      I am trying using the SOAP but it is giving error

      ct="TV" bresettabindex="true">Returning to application. Exception: Error encountered while executing mapping: Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_MM_EVA_Esku_Details_Sync_Response_; Details:; The element type "br" must be terminated by the matching end-tag "</br>".

      Successful test with http request (REST)

      Unsuccessful test with http request (SOAP)

      Please suggest.



      11.png (53.4 kB)
      12.png (57.5 kB)
  • Jul 10, 2017 at 03:18 PM

    Hi Sherwin,

    In your screenshot you have a host of "192." instead of a valid IP address. The configuration would need to be adjusted before you could attempt to execute the scenario end to end.


    Ryan Crosby

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Ryan Crosby

      HI Ryan,

      I am trying to use the dynamic URL which is coming from ECC. ECC will send target URL and I will use it and will send the data to that particular URL.



  • avatar image
    Former Member
    Jul 11, 2017 at 01:23 PM

    Hi Guys,

    The issue is resolved. I used the SOAP channel with java UDF and XSLT mapping.



    Add comment
    10|10000 characters needed characters exceeded