on 06-20-2013 9:01 AM
Hi Guys
Need some help here.
My mobile app vendor is invoking my web service via SAP PI. However they require a response header - Access-Control-Allow-Origin in order to access the services due to CORS. They claim that their invocation is blocked due to javascript's security for cross-domain access via xmlhttprequest calls.
Does anyone has any idea on how to go about doing it ?
Current Process:
Mobile Apps --> SAP PI --> Web Service running on IIS (.NET)
Will appreciate any reply/help.
Thanks
Bertina
I have had the same problem, but the only solution that I have found is through a proxy.
I have no found an answer for this iether. I know that there are header fields that can be added to the server of the secondary services (ie: the PI server hosting the CostCenter webservice),
however, I have not been able to determine from SAP’s documentation where to
successfully place these headers (or if PI even supports them)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ming,
I know this issue is pretty old, never the less I want to ask If you found a solution for the problem?
Thanks,
ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ming,
For Interoperability between SAP PI and .NET applications this link can be useful for you http://scn.sap.com/docs/DOC-3453
I haven't heard anything about Access-Control-Allow-Origin, but googling it, it's about a field in the http header, isn't it?, you can add fields with ASMA in the HTTP sender http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.