Call server connector from UI

Hi,

I want to call external WS from UI (for example a business service deploy on an ESB) and i need to do that from the server (CORS are disabled on the external WS server).
Is there a way to call a server connector, a script … from UI (code execution of the called object is done on the server side) ?

Thks

Pat

Hi,

I would suggest to write a REST Api extension where you could call the external WS, format the response and so on. This REST Api have a unique customizable endpoint that you can then call from your UI. This way, if you have to modify the logic of the WS call, you’ll have to do it at only one place.

Cheers

Hi,

Thanks for your answer Lionel.

Pat