Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

How to encode URL before running EAI HTTP Transport Service

edited Dec 16, 2016 12:26AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 16 commentsAnswered ✓

Hi All,

I am calling EAI HTTP Transport Service to perform a HTTP GET operation. The URL is dynamically created using escript. As parts of the URL, I am sending some field content of Siebel.

The problem: Whenever there is some Polish, Russian, etc. characters, the request gets invalid. The characters would need to be URL-encoded, but I can't seem to find an appropriate way to do so.

- The JavaScript function encodeURI() seems to be not recognized by eScript.

- The escript function escape() only works for some very basic characters, but most seem to be ignored

Is there any way to achieve safe URL encoding in eScript?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center