Content-Type Header Line Folding Using Service Bus - Service Callout Construct - SOAP 1.2 Endpoint
(Doc ID 2482488.1)
Last updated on MARCH 28, 2019
Applies to:Oracle Service Bus - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
Service callout using SOAP 1.2 business service, results in a header folding related error when we interoperate with a more recent web server software (ex. jetty 9.x)
This is due to the latest RFC 7230 which prevents web server software from intercepting and interpreting a multi line header value, to safeguard against known vulnerabilities against multiline header values.
1. Import the project HelloWorldProject in the OSB console.
2. Enable the Set Transport Headers for[ Outbound Request ]
3. Test the proxy/pipeline (HWProxyService12)
4. Use the following payload,
Ideally it should be in single line.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document