Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

CORS, WebService, WAS ABAP

$
0
0

Hello,

 

I've WebService (WS) provided on SAP Web Application Server for ABAP (WAS).

I would like to call this WS from HTML page stored on other HTTP server.

This HTML page includes this call impemented as JavaScript ajax and works ok if stored localy on the PC.

If the same HTML page is stored on other HTTP server the call returns with an error because of Cross Origin Resource Sharing (CORS).

I think, this call would be sucessfull if SAP would include Access-Control-Allow-Origin in response in http header.

 

My questions:

1) is there a possibility to customize such behaviour throug params of SMICM, SICF, SRT, SOAMANAGER, WS, etc.?

2) is there a possibility to include such http attribute througg some extension, BAdI, UserExit, etc.?

 

The installation of new components like Web Dispatcher, Portal, Java Stack, PI, etc. is at the moment not possible, I'm looking for solution through customizing or extension.

 

Thank you very much for your hints,

Kris


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>