on 02-05-2016 8:53 AM
Hello Experts,
I have the following issue: I created an app from template in the SAP Web IDE. For this I used a local onpremise Server. The Connection is configured in the SAP HANA Cloud Platform Cockpit and in my SAP Cloud Connector. It is active and connected in both platforms.
Now, when I run the app with mockdata there are no problems, but when I try to run it with Server I get the following error:
This is what is written in the Details of the error message:
{
"message": "HTTP request failed",
"headers": [],
"statusCode": 500,
"statusText": "Internal Server Error",
"responseText": "<html><head><title>Error Report</tilte></head><Body><h1>HTTP Status 500 - HTTP protocol error occurred while connecting to remote host http://xxxxx.xxxx:11111<h1></body></html>"
}
I have no idea what the cause for this Problem might be. As I said in the Cloud Connector and in the SAP HANA Cloud Platform are activated and there is no indication that there is any issue with it. When I test the Connection in the app creation screen in Web IDE it works fine as well.
Thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I'm currently having the same problem. The error is caused because a HEAD method is request. If you check your service, you'll see that only the following operations are allowed: GET, POST, PUT, PATCH, MERGE, DELETE and BATCH.
If you use master-detail template 1.0.1, this problem does not occur. It's a workaround... But I still haven't found the solution to fixing the issue with the HEAD method.
I did find a possible solution: https://scn.sap.com/thread/3827689 but I'm still trying to find out where to add these parameters
Kind regards,
Niels.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please specify the destination configuration of the ABAP Gateway Connection in the HCP cockpit?
Regards,
Offer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please share your method to call oData service?
Refer this server side communication: http://plnkr.co/edit/5vZRfTLGCHV69gxVL9m3?p=preview
Regards,
Karthik A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Karthik
Do I understand it correctly that the method should be implemented in the index.html file?
Or is this just an example Name? Because I don't have this file in the Folder of my App.
I am rather new to SAP Fiori and only created Apps from Template in the Web IDE so far and I don't now where to find the method you mentioned.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.