<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Still problems with Access-Control-Allow-Origin in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700611#M4375583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh thx...i didn't know that. Will try it out &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 13:48:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-05-20T13:48:23Z</dc:date>
    <item>
      <title>Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaq-p/11700601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am developing in IntelliJ IDEA with an OpenUI5 SDK 1.36.5. While trying to access my Odata Service with an ODataModel i get continuously an access error seeing below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/956748" height="96" width="1200" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What have i done?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too make it short:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Created a new project in SAP Gateway Service Builder (TAC: SEGW)&lt;/LI&gt;&lt;LI&gt;Referenced a table with fields and data (not necessary, its working &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/108/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;)&lt;/LI&gt;&lt;LI&gt;Implemented the "GetEntitySet (Query)" Method in the folder "Service Implementation/VBAKUK_UI5Set" (= Name of the Entity Set)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/956758" height="299" width="635" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check the headers i use Postman. With &lt;A class="unlinked" title="http://r41z.hcc.uni-magdeburg.de:8041/sap/opu/odata/sap/ZUI5_IW74874_TEST_SRV/VBAKUK_UI5Set/"&gt;http://[server]:[port]/sap/opu/odata/sap/ZUI5_IW74874_TEST_SRV/VBAKUK_UI5Set/&lt;/A&gt; and an Basic Authorization Header (credentials to get access) i get all the data i want plus the "&lt;SPAN class="response-header-name" data-reactid=".0.1.1.0.1.0.$f4d8867e-8180-ca00-efa0-ee52152848c1.2.0.1.0.0.$headers/=1$headers.0.0.$access-control-allow-origin.0" style="margin-right: 10px; font-weight: bold; color: #808080; font-family: sans-serif; font-size: 12px;"&gt;&lt;SPAN data-reactid=".0.1.1.0.1.0.$f4d8867e-8180-ca00-efa0-ee52152848c1.2.0.1.0.0.$headers/=1$headers.0.0.$access-control-allow-origin.0.0"&gt;access-control-allow-origin&lt;/SPAN&gt;&lt;SPAN data-reactid=".0.1.1.0.1.0.$f4d8867e-8180-ca00-efa0-ee52152848c1.2.0.1.0.0.$headers/=1$headers.0.0.$access-control-allow-origin.0.1"&gt; →&lt;/SPAN&gt;&lt;SPAN data-reactid=".0.1.1.0.1.0.$f4d8867e-8180-ca00-efa0-ee52152848c1.2.0.1.0.0.$headers/=1$headers.0.0.$access-control-allow-origin.0.2"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="response-header-value" data-reactid=".0.1.1.0.1.0.$f4d8867e-8180-ca00-efa0-ee52152848c1.2.0.1.0.0.$headers/=1$headers.0.0.$access-control-allow-origin.1" style="color: #808080; font-family: sans-serif; font-size: 12px;"&gt;*&lt;/SPAN&gt;" header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now to the code i have written&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #ffc66d;"&gt;localResources&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"sap_ui5_playground"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #ffc66d;"&gt;localResources&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"util"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #ffc66d;"&gt;localResources&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"i18n"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;var &lt;/SPAN&gt;oView = sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #ffc66d;"&gt;view&lt;/SPAN&gt;({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #9876aa;"&gt;viewName&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"sap_ui5_playground.Main"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;type&lt;/SPAN&gt;: sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;core&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;mvc&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;ViewType&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;HTML&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;})&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;oView.&lt;SPAN style="color: #ffc66d;"&gt;placeAt&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"content"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;var &lt;/SPAN&gt;url = &lt;SPAN style="color: #6a8759;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://[host]:[port]/sap/opu/odata/sap/ZUI5_IW74874_TEST_SRV/"&gt;http://[host]:[port]/sap/opu/odata/sap/ZUI5_IW74874_TEST_SRV/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //url as full address&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;var &lt;/SPAN&gt;oModel = &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;new &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;model&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;odata&lt;/SPAN&gt;.ODataModel(url&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"[username]"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"[password]"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //name and pw as plain text here&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;getCore&lt;/SPAN&gt;().&lt;SPAN style="color: #ffc66d;"&gt;setModel&lt;/SPAN&gt;(oModel&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"odata"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;var &lt;/SPAN&gt;oTable = &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;new &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;table&lt;/SPAN&gt;.Table({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #9876aa;"&gt;width&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"100%"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;title&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"Daten aus dem SAP mit OData"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;editable&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;items&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"{odata&amp;gt;/VBAKUK_UI5Set?$format=json&amp;amp;sap-client=201}"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;})&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;oTable.&lt;SPAN style="color: #ffc66d;"&gt;addColumn&lt;/SPAN&gt;(&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;new &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;table&lt;/SPAN&gt;.Column({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #9876aa;"&gt;id&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"Mandt"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;label&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;new &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;commons&lt;/SPAN&gt;.Label({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #9876aa;"&gt;text&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"Mandt"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;})&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;template&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;new &lt;/SPAN&gt;sap.&lt;SPAN style="color: #9876aa;"&gt;ui&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;commons&lt;/SPAN&gt;.TextView({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #9876aa;"&gt;text&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"{odata&amp;gt;Mandt}"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;})&lt;/P&gt;&lt;P&gt;&amp;nbsp; }))&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp; [more columns]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp; oTable.&lt;SPAN style="color: #ffc66d;"&gt;setModel&lt;/SPAN&gt;(oModel)&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp; oTable.&lt;SPAN style="color: #ffc66d;"&gt;placeAt&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"content"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several ways in coding to fix the issue yet, nothing worked. If you know any way further to help me i would really appreciate it. I am open for every hint you're might be able to give, so don't hesitate to answer &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 17:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaq-p/11700601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-19T17:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700602#M4375574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is your browser preventing a cross origin request.&amp;nbsp; You can either use a proxy to load the data, turn off your browser security, or use SAP Web IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS" title="https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS"&gt;HTTP access control (CORS) - HTTP | MDN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;P&gt;SAP - Technology RIG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 19:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700602#M4375574</guid>
      <dc:creator>jamie_cawley</dc:creator>
      <dc:date>2016-05-19T19:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700603#M4375575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u deploy it to the gateway server to run the ap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 19:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700603#M4375575</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2016-05-19T19:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700604#M4375576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that my browser is blocking it, so my try was to turn around that by adding the origin header. Are there only these three options? If yes then i would choose proxy i suppose &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 19:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700604#M4375576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-19T19:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700605#M4375577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope. I only created the OData Service and access it through an URL. I know the deploying way, i wanted to try some kind of client &amp;lt;-&amp;gt; server though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 19:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700605#M4375577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-19T19:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700606#M4375578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UI5 provides a proxy, which I have only ever used in eclipse &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_nw74/helpdata/en/2d/3f5fb63a2f4090942375df80abc39f/content.htm" title="https://help.sap.com/saphelp_nw74/helpdata/en/2d/3f5fb63a2f4090942375df80abc39f/content.htm"&gt;Use a SimpleProxyServlet for Testing to Avoid Cross-domain Requests - UI Development Toolkit for HTML5 (SAPUI5) - SAP Li…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can turn off cors in chrome by starting it with --disable-web-security --user-data-dir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Jamie&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;SAP - Technology RIG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 20:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700606#M4375578</guid>
      <dc:creator>jamie_cawley</dc:creator>
      <dc:date>2016-05-19T20:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700607#M4375579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to avoid disabling CORS because it should be used as most independent as it is possible now. If i can only use it with that its not very...usable i would say &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt; additionally, i'm coding on OS X so it's not even possible to do that as easily as it is on Windows &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take a look over the UI5 Sample Proxy. It looks like a nice try for now. Thanks for that &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 20:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700607#M4375579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-19T20:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700608#M4375580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why waste time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 23:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700608#M4375580</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2016-05-19T23:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700609#M4375581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;You can use chrome with disabled web security flag to test before &lt;SPAN style="color: #333333; font-size: 12px;"&gt;deploying it to the gateway server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naveen S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 09:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700609#M4375581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-20T09:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700610#M4375582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set in the terminal on a mac...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;open '/Applications/Google Chrome.app' --args --disable-web-security --user-data-dir&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Jamie&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;SAP - Technology RIG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 11:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700610#M4375582</guid>
      <dc:creator>jamie_cawley</dc:creator>
      <dc:date>2016-05-20T11:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700611#M4375583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh thx...i didn't know that. Will try it out &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700611#M4375583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-20T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700612#M4375584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not wasting any time, i simply don't want to deploy it. What we try, or specially i want to try out is to access an OData Service from the SAP side without any deploying, more like a web service using SAP to retrieve data. Surely, a deployment can happen later while my project continues, but that's not relevant for now &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt; It's more like a testing out session currently &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700612#M4375584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-20T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700613#M4375585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to your error messages, the cross-origin request that is denied by the browser is the one to access the metadata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;your_service&amp;gt;/$metadata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You set the Access-Control-Cross-Origin header for the get_entityset in DPC_EXT but not for the metadata document. This will probably have to be done in the MPC_EXT class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 15:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700613#M4375585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-23T15:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700614#M4375586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, the header for service requests is set in the GW framework. I couldn't find any relevant BAdI's there either but I didn't look for too long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is strange, it seems that odd to allow changes to headers in the response of entities but not for metadata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 18:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700614#M4375586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-23T18:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700615#M4375587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i appreciate your hint about metadata. Sadly, i didn't find any suspicious too. As long as it works for now i will use Chrome with disabled security flag, trying out some special stuff if i have time for it and go further on developing currently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/108/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 20:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700615#M4375587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-23T20:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700616#M4375588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Frank, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Odd? - It's an issue, as soon you lose total control of the code you end up with problems.. well, you always eventually do...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd assume the best way would be to extend the OData Handler (SICF Node) and manipulate your headers there - this way you can be sure you control what happens and it's still very clean and easy to roll back &amp;amp; switch if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 22:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700616#M4375588</guid>
      <dc:creator>daniel_ruiz2</dc:creator>
      <dc:date>2016-05-23T22:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700617#M4375589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's what I ended up doing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 23:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700617#M4375589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-23T23:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700618#M4375590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually found a way. You can use a handler in the sicf node for gateway. See here for details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="102977" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Gateway, the ICF and solving the &amp;quot;Same Origin Policy&amp;quot;" href="https://community.sap.com/" modifiedtitle="true" title="Gateway, the ICF and solving the &amp;quot;Same Origin Policy&amp;quot;"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The test method I implemented looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;if_http_extension&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;handle_request&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; server&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;response&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;set_header_field&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Access-Control-Allow-Origin'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'*'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if_http_extension&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;flow_rc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;if_http_extension&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;co_flow_ok_others_mand&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 23:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700618#M4375590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-23T23:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700619#M4375591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below code will solve your problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var prefix = new sap.ui.commons.TextView("prefix"); if (window.location.hostname == "localhost") {prefix.setText("proxy/https/&lt;STRONG&gt;&amp;lt;domainName&amp;gt;&lt;/STRONG&gt;&lt;SPAN&gt;");}&amp;nbsp; else {prefix.setText("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" + window.location.hostname);}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var url = sap.ui.getCore().byId("prefix").getText() + "&lt;A class="unlinked" style="font-size: 12px; color: #0165b0; background: #ffffff;" title="http://r41z.hcc.uni-magdeburg.de:8041/sap/opu/odata/sap/ZUI5_IW74874_TEST_SRV/VBAKUK_UI5Set/"&gt;sap/opu/odata/sap/ZUI5_IW74874_TEST_SRV/VBAKUK_UI5Set/&lt;/A&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt; "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viplove Khushalani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 09:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700619#M4375591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-24T09:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Still problems with Access-Control-Allow-Origin</title>
      <link>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700620#M4375592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the same but the preflight request never reached the handlers. We have SSO SAML setup in the gateway during http debugging I've seen that the HTTP call always went first through the sequence of logon methods as defined in the SICF service before it entered the list of http handlers. Hence the anonymous HTTP OPTIONS call from the browser was already blocked by the SSO logon procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you do that in your case? How did you allow an anonymous access while at the same time keeping a logon procedure for every other user?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 12:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/still-problems-with-access-control-allow-origin/qaa-p/11700620#M4375592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-06-14T12:12:21Z</dc:date>
    </item>
  </channel>
</rss>

