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="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:com.sap.b1i.bizprocessor:bizatoms" pltype="json" xsi:schemaLocation="urn:com.sap.b1i.bizprocessor:bizatoms json_pltype.xsd">
<array>
...
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?