How to pass Header with hyphen to third party SOAP Event?

How to pass Header with hyphen to third party SOAP Event?

book

Article ID: KB0094698

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition BE 5.3.0 - HF1

Description

When user tries to add hyphen "-" in an event property user will get a pop up saying "Cannot use reserved word '<the header property with the hyphen>' "

Issue/Introduction

User can pass Header parameters with hyphen from TIBCO BusinessEvents (BE) 5.3.0 HF1 onwards

Environment

All

Resolution

After applying BE 5.3.0 HF1, a user can use the custom header property as CUSTOM_HEADER_<header property name>. The user must replace all '-' characters in the actual header property to '_' .

Example: If a user wants to use the header property X-IBM-Client-Id then he must use CUSTOM_HEADER_X_IBM_Client_Id . With this usage the BE engine will convert the underscores '_' to hyphens '-' internally and remove the CUSTOM_HEADER_ prefix from the property so they will be able to pass the expected property, i.e., X-IBM-Client-Id .