12-19-2006 3:07 PM
Hello,
Due to flash security reasons, i would like to add a crossdomain.xml on the root of my Web application server.
Do you know if there is anyway to achieve it ??
good day to you'll
Quentin
01-11-2007 12:00 PM
Hi Quentin,
I do have the same problem. Did you find a solution yet?
Rgs Klaus
01-12-2007 8:43 AM
Yep found it
I created a ZROOT BSP application, i put my crossdomain.xml as a mime file.
In SICF transaction : in the Default servcie Tab, I Select the ZROOT BSP application, i just created. Then I re Activated the default host (right clik Activate Virutal Host)
Finnaly in the RZ11 transaction: is/HTTP/default_root_hdl (Param name)
I Changedt he value from j2ee to abap and save.d
Good day
Quentin
01-13-2007 7:54 AM
Hi Quentin ,
Thanks for sharing this.
I am also playing around with flexbuilder2 and integrating it with BSP pages. Would love to hear from you about your experiences. Would you mind sharing the same with us. May be through a weblog. It will be very helpful for the community.
Regards
Raja
01-15-2007 11:29 AM
Hi Raja,
I'm planing to do so and I already have a weblog. But first, I still have a problem to solve between HTTPS and the mime repository and IE.
When I call the SWF from IE via a HTTPS connection, the swf does not load the first time, i need to reload the page. I could do it via javascript, but i don't like that.
I'm pretty sure think that the problem comes from the http headers of my WAS server. but we already talked about that, didn't we
Besides,Flex is a very nice way to do RIA, even thought, I did not find a nice way to implement team project management. I did install a SVN server, but this not as as practical as the SAP Transport system.
Furthermore, I need to look for a way to upgrade the flash player throught the intranet of my company for those who had restricted access on their computers (express install seems to need a connexion to the adobe website ).
Anyhow, Will work on that blog Post ASAP.
KR,
Quentin
06-22-2007 2:27 AM
We had run into this issue and your help was invaluable. We have the integration up and running. Thank you very much.
06-16-2008 3:27 PM
Hi Quentin.
I am having the same problem (see thread: )
and I am trying the process you suggested, but somehow didnt get it to work. Could you provide me some extra guidance?
(Or anyone that have the time?)
Thank you,
I created the ZROOT BSP application without filling in any extra information. Then i imported a MIME Object: crossdomain.xml file containing the following content:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*" secure="false" />
<allow-access-from domain="*" secure="false" />
</cross-domain-policy>
Saved and activated the ZROOT BSP appl.
Went to SICF but from there, i'm lost.. i do not understand these steps:
In SICF transaction : in the Default servcie Tab, I Select the ZROOT BSP application, i just created. Then I re Activated the default host (right clik Activate Virutal Host).
Edited by: Huynh Van Du Tran on Jun 16, 2008 4:28 PM
06-26-2008 4:36 PM
I guess i'm missing the user rights/authorization to modify things w/ sicf..
02-01-2011 12:26 PM
Hi Quentin
I do have the same question.
i want to put a crossdomain.xml file on the server http://usciu3f.wdf.sap.corp:50050/ .
can you tell me clearly how am i supposed to go on.
since I am new to this, I dont have much knowledge.
Thanks in advance
02-03-2011 5:19 AM
REPORT zcrossdomain.
"---------------------------------------------------------------------------------------
"Create the Crossdomain.xml
"---------------------------------------------------------------------------------------
DATA crossdomainxml_t TYPE string.
DATA crossdomainxml TYPE xstring.
CONCATENATE'<?xml version="1.0" encoding="UTF-8" ?>'
'<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">'
'<cross-domain-policy>'
'<allow-access-from domain="*" secure="false" to-ports="*"/>'
'<allow-http-request-headers-from domain="*" headers="*"/>'
'</cross-domain-policy>'
INTO crossdomainxml_t
SEPARATED BY space.
"convert to binary
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = crossdomainxml_t
IMPORTING
buffer = crossdomainxml.
"----------------------------------------------------------------------------------------
" Create Response object with the crossdomain data
"----------------------------------------------------------------------------------------
DATA lr_cached_response
TYPE REF TO if_http_response.
CREATE OBJECT lr_cached_response
TYPE cl_http_response
EXPORTING add_c_msg = 1.
lr_cached_response->set_data( crossdomainxml ).
lr_cached_response->set_content_type( 'text/xml' ).
lr_cached_response->set_status( code = 200 reason = 'OK' ).
"set the validity for more than a day(86400)
lr_cached_response->server_cache_expire_rel( expires_rel = 90000 ).
"----------------------------------------------------------------------------------------
"Upload to the ICM root directory
"----------------------------------------------------------------------------------------
CALL METHOD cl_http_server=>server_cache_upload
EXPORTING url = '/crossdomain.xml'
response = lr_cached_response
scope = ihttp_inv_global.
Try this . Create this as a program and run. check this in the dev and testing sever first.
09-26-2008 9:10 AM
Hi
The last step is:
Open the default_host by double click. Go to Defaut Service tab, modify and position on your BSP by double clicking on the BSP in the sicf tree ( sap->bc->bsp->sap->your bsp).
Then save the default_host.
Then activate again the default_host service.
Now when you click on the Default service tab it should point directly on your BSP.
Regards
Johann Marty
12-28-2009 7:11 AM
Marty hi,
I know that your last reply on the subject was a long time ago,
But I'll try and ask you a question about it.
I have followed all steps and my default host points to my BSP application with the crossdomain file,
But when I try to run my default host through url http://xxx.xxx.xx:8031/crossdomain.xls,
it points to a different location than my BSP.
Any ideas why?
Someone mentioned something with rz11, is it necessary?
Regards
Shlomi
04-07-2010 8:27 PM
We are trying to attempt a Flex appication to SAP webservice connection and have also run into the deadend of not being able access the crossdomain.xml file on the root of the server.
It seems like the instructions given in this thread and others are leaving out some steps.
02-22-2011 12:58 AM
Hi All,
Firstly, great thread.
My problem is that the service I am trying to access is on a ByDesign system and the ByD system does not have any default host for which I can maintain Default Service. The ByD system has a host with the client name and I can not maintain a default service for it.
Has anyone else faced the same issue?
Regards,
Amit
05-16-2014 8:07 PM
Hi ,
We are implementing SAP Screen PERSONAS and need the clientaccesspolicy.xml" and "crossdomain.xml files for reference , which is already edited for your client so that i can easily modify
Thanks
Kiran.GVL