Skip to Content
avatar image
-1
Former Member

FIORI Application Odata Service Binding

Hello,

For reasons of security I cannot use the cloud connector in conjunction with the on premise system which we have. Never the less I am very comfortable using WebIDE in order to create the necessary applications. I create the applications in WebIDE using a .edmx file which represents the on premise ODATA service which i plan to use.

After the application is made. I import the archive and then make necessary modifications to the archive in HANA Studio (inside Java EE perspective).

I am doing things according to this guide: https://www.sap.com/developer/tutorials/hcp-webide-switch-live-odata.html

My understanding is that the manifest.json and neo-app.json are both to be modified pointing to the real ODATA service.

In the manifest.json:

BEFORE:

AFTER:

According to the guide above, within the neo-app.json, I need to point it to the gateway.

Here is the information of our on premise system.

System Name: sapewp01.xxxxx.com

localURI: /sap/opu/odata/sap/zbw_odata_q3_srv/

Port: 8012 (i assume, the odata service link works on my end)

SAP Gateway (sapgw12)

Another other required information can be provided on request.

How does one change a web ide app to be able link into an on premise ODATA service, WITHOUT disrupting all the work done on webIDE?

My fundamental problem is the idea that webide is always pointing to /destination/....

I understand that you can create a destination in webide. But for my purposes I need the app itself to contain all the resources which point it to an ODATA service. Surely, only the manifest.json file needs to be changed?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 12, 2017 at 08:59 PM

    The uri in the manifest should be relative, "/sap/opu/odata/sap/zbs_odata_q3_srv". You also need an entry in the neo-app.json, STEP 7, which points to a destination, STEP 2. The destination will point to your on premise system and if you are not using the cloud connector then you must set the proxy type to internet.

    Regards,

    Jamie

    SAP - Technology RIG

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello sir, I will follow through with the steps. My question remains, how do you create a "destination". Would it just be a file that I would create? I don't understand where webide is providing this destination file. There is no destination file in the webide archives of the app which i download.

  • avatar image
    Former Member
    Apr 13, 2017 at 06:55 PM

    I believe WEBIDE Personal edition could be a good option to consider.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I have tried that, it doesn't connect and gives a configuration error. I have posted a question and no updates on that. Frankly, the problem remains that even in the webide personal edition, the application you build points to a destination file. Therefore, one still has to understand how this is all working. Without that nothing can occur.

      That is what I am hoping Jamie Cawley can clarify for me and all other users in my state.

  • Apr 14, 2017 at 12:11 PM
    Add comment
    10|10000 characters needed characters exceeded

    • No one is forcing your hand, Web IDE is just one development option for you to use, eclipse or any web editor could also be used. Web IDE uses the neo-app.json to refer to the destination, which is detailed by example in the previously provided links. Both the neo-app and the destination are concepts that only exist within Web IDE. To understand why this is needed I would suggest you read

      https://en.wikipedia.org/wiki/Same-origin_policy

      Regards,

      Jamie