Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

"405 (Method Not Allowed)" error sending input to Java app

$
0
0

Hi,

 

I have created a Fiori form hosted on HCP (HANA trial account), using SAP Web IDE where the input will be sent to a server. I have setup the HANA Cloud Connector on the server and configured the destination in the Cloud Platform Cockpit. The connection check returns successful.

 

The problem lies in the backend. As I understand it, I have to send the form input to a Java app in the Web IDE. For test purposes I have included hard-coded data in the controller.


Currently my controller looks like this:

code.PNG


When clicking the submit button in the application I get the following error:

error.PNG

Instead of using a POST method, what should I be doing to send the input to the Java app which then would send it on to the server?

 

Is there an example or a guide I could follow that runs through sending input from an application on HCP to a server?
Does anyone have any suggestions relating to alternative ways of achieving this?
 
Thanks,
Hywel


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>