How to force one Restful call in UTF-8 Encoding when the server encoding is set to ISO8859-1 encoding?

(Doc ID 2359063.1)

Last updated on FEBRUARY 08, 2018

Applies to:

Oracle SOA Suite - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

How to force one Restful call in UTF-8 Encoding when the server encoding is set to ISO8859-1 encoding?

Installed SOA 12.2.1 and the server uses default encoding which is ISO8859-1. Recently we deployed new composite with a restful adapter which calls external restful service, we found it will fail if the source xml has non basci ascii.

In a testing instance, if I change the server encoding to utf-8, then the issue is gone.

But we don't know if this system level change will cause issues on other existing soa composites, so we don't want to change the server encoding without full testing.

So the question is:


How can we change the encoding for that specific restful adapter only?
How to force one restful call in utf-8 encoding while the server are in ISO8859-1 encoding?
 

Solution

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