OAG Produces Additional Lines In Signing XML Messages

(Doc ID 2151227.1)

Last updated on JUNE 24, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.



On signing XML messages with OAG, it was observed that OAG is placing two lines of whitespace after it created the security header, before the signature part starts. The communication partner does not accept any whitespace or linefeeds in the messages it likes to receive.
How can we change the behavior of OAG in a way these two empty lines will not be produced. Below code snippet demonstrates the problem :

Between ...ext-1.0.xsd"> and <dsig:Sign... are the two blank lines generated from OAG. Is this a bug or a feature ? but this can't get the messages accepted from partner's side because of these two empty lines.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms