2009 Jul 06 12:48 PM
There are various posts on how to deploy a crossdomain.xml file on an ABAP Web AS.
Can anyone tell me how to add the crossdomain file to the root of my Netweaver Java-AS?
I'm using an Xcelsius dashboard accessing data on a MaxDB via the "XML data" connection.
Any help would be appreciated.
Kind Regards,
Rui Nogueira
2010 Jun 26 1:25 PM
Hi Rui,
It could be a Cross domain issue please refer the following blog
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16393] [original link is broken] [original link is broken] [original link is broken];
If you are working on silverlight cross domain issue follow tis steps
after you coppy the report in the blog to the abap editor make the following changes replace the concatenate statement with following code
CONCATENATE'<?xml version="1.0" encoding="UTF-8" ?>'
'<access-policy>'
'<cross-domain-access>'
'<policy>'
'<allow-from http-request-headers="*">'
'<domain uri="*"/>'
'</allow-from>'
'<grant-to>'
'<resource path="/" include-subpaths="true"/>'
'</grant-to>'
'</policy>'
'</cross-domain-access>'
'</access-policy>' into crossdomainxml_t SEPARATED BY SPACE.
replace CALL METHOD CL_HTTP_SERVER=>SERVER_CACHE_UPLOAD with below
"-----------------------------------------------------------------------
"Upload to the ICM root directory
"-----------------------------------------------------------------------
CALL METHOD CL_HTTP_SERVER=>SERVER_CACHE_UPLOAD
EXPORTING
URL = '/clientaccesspolicy.xml'
RESPONSE = lr_cached_response SCOPE =
IHTTP_INV_GLOBAL .
2010 Oct 03 11:50 AM
Hi Rui,
This document may not have been available when you asked this question, but for those searching for the answer I would suggest going to this link:
http://learn.adobe.com/wiki/display/security/ApplicationSecurityLibrary
and view the Cross Domain Security document. (direct link is: [http://learn.adobe.com/wiki/download/attachments/64389123/Acrobat_CrossDomainSecurity.pdf?version=1]
In there are some instructions for deploying a cross domain XML file for a Netweaver Java AS.
My only question is by putting files in there, will it get overwritten when new support packs are deployed?