Skip to Content
author's profile photo Former Member
Former Member

Dynamic String in URL of Plain HTTP adatper

Hi, buddies.

Recently we are trying to interact with a system by using the GET method of HTTP. Thus the string of URL maybe vary. Can I acheive that in plain http adapter?

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 04, 2007 at 02:22 PM


    i think that should be no problem.

    Be sure that the necessary parameters like sendernamespace, interface, service or party, username and password and the servervalues like port, address are used.

    What do you think will vary ?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member



      1. Message Mapping

      You need to do Dynamic Configuration.

      Use the below code.

      DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
      DynamicConfigurationKey key = DynamicConfigurationKey.create( "", "TargetURL");
      conf.put(key, URL);
      return "";

      In this URL is the dynamic URL u will be from your mapping..

      2. Configure Communication Channel

      Pass Addressing Type, Target Host, Service Number

      Select Adapter Specific Attributes.

      Also choose URL.

      This should work.


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.