Closed kamskanagi closed 1 year ago
I was able to know able to test the connection and it was successful.
Thanks
Sorry for the late reply. The node-rfc is using SAP proprietary TCP/IP based protocol.
HTTP server can be added like here for example: https://github.com/SAP-samples/node-rfc-samples/tree/main/integration/express
Hello everyone,
I have successfully install the SAP NWRFC SDK and node-rfc. By the way, i am new to SAP NWRFC SDK and node-rfc. Next i want to test the connection. so i created a file name
client.js
in the clone node-rfc directory and use the below code. in the same directory i createdsapnwrfc.ini
and connection details.When i run the
client.js,
it createdev_rfc.log
file with information about my system as show below.My question are 1) How can i know if my connection is successful or not? 2) Do i have to create, in my case 'client.js and sapnwrfc.ini" in the node-rfc folder or i can use any folder or directory in my system. 3) Is it possible to do GET and POST? if yes, can you help me with the reference.
client.js `
})();`
dev_rfc.log
`