Skip to Content
avatar image
Former Member

Http Reciver Adapter Header fields

Hi all,

I have a requirement where the receiver is http adapter. I have some fields/structure to be added to the http request. One way i know is to generate entire envelope in the map and then send as request having header and body both.

Is there any option in com channel to be used to populate the header fields. I can see "Define Header fields" but do not know how to use it.

Any help will be really appriciated.

Thanks

-Kulwant

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 06, 2010 at 04:40 AM

    Hi Kulwant,

    > Is there any option in com channel to be used to populate the header fields. I can see "Define Header fields" but do not know how to use it.

    Yes, You can easily populate Header fields in mapping using dynamic configuration. For more details, refer to /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping .

    Regards,

    Sunil Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 06, 2010 at 12:32 PM

    > One way i know is to generate entire envelope in the map and then send as request having header and body both.

    Are you talking about SOAP header fields?

    Dynamic configuration will not help you here.

    Maybe you explain, what "header fields" you think.

    Add comment
    10|10000 characters needed characters exceeded