Skip to Content
Jun 24, 2020 at 08:32 AM

B1if: Adding http header to response does not work as expected


I'm trying to add a CORS header to the HTTP response generated by my B1if scenario (http inbound). According to the adapter documentation ("HTTP Incoming Call (Inbuilt)") a "Runtime Configuration Property" named "httpheader.???" has to be set in order to achieve that.

I tried to add that property as follows in my atom0:

 <xsl:template name="transform">
        <xsl:attribute name="httpheader.Access-Control-Allow-Origin">*</xsl:attribute>
        <io xmlns:xsi="" xmlns="" pltype="json" xsi:schemaLocation=" json_pltype.xsd">

This (and numerous variations) does not work for me – there's no corresponding header present in B1if's http response, neither for the POST nor the OPTIONS request.

What am I doing wrong?