Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REST/Translate activity converting arabic characters as '???'

Spatil6Aug 30 2018 — edited Sep 5 2018

Hi All,

I have a 12c BPEL service which gets  XML data from source having some of the data in Arabic. I need to send this data to target API which is JSON based.

I have used REST adapter to integrate with target system. I am constantly getting validation failed exception from  target system on one of the field called PPA which is in Arabic.

So to see how the JSON request is sent from rest adapter ,I created a translate activity on the invoke's input variable of REST adapter.

I see the following

{

"PPE" : "Egypt",

        "PPA" : "???"

}

But actual value sent in the xml request of the interface is

<PPE>Egypt</PPE>

        <PPA>مصر</PPA>

Arabic data is getting replace to '???' while invoking rest or translate. Can you all help me find the solution to this issue? I need to preserve the data. With XML arabic words dont get replaced. I am getting this error only during translate/ REST invocation. Please guide asap.

Regards

Varsha

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2018
Added on Aug 30 2018
1 comment
1,851 views