I want to read HTTP header fields in my message mapping and when these fields are available, that is no problem. In case HTTP response is 200, I get a specific set of fields I can use. If the response code is something else, I get another set of fields. In the receiver HTTP_AAE adapter, in the HTTP Header Fields (Synchronous Response, I defined them. In the monitoring I see them. But if they are not available, I get error INVALID_PARAM_FOR_DYN_HEADER, One of the parameters is null. Is there a way to configure them dynamically or kind of optional?
EDIT: I added them in the Additional Query Parameters section, referring to HeaderFieldxxx. But still no luck
I would love to make them optional, but that seems to be impossible. Or not?
Thanks a lot.