Hello everyone.
Our team is trying to connect our Node.js service to S/4HANA Cloud so that the Node service receives SOAP requests. The specific communication scenario is SAP_COM_0444 which the inbound service is for creating/ updating Sales Scheduling Agreements and the outbound service is for sending out Outbound Delivery notifications. We could successfully use the inbound service, but we are not having much luck with the outbound service.
This is what we have done so far. We made a custom endpoint that accepts SOAP envelopes, so we don't believe it is a problem with our application. We deployed our application to my SAP Cloud Platform Trial account, and we routed to it with a Communication Arrangement. This is what we put down:
After doing some debugging locally, I discovered that putting down port 8080 was not correct. The problem is that we cannot use just a normal url without the port since that the S/4HANA Cloud App for setting communication arrangements automatically replaces the blank input with 0. The only way I can think of in order to make the connection work is to open up the port somewhere in the Cloud Foundry service link.
So my question is, when deploying to SAP Cloud Platform for the Cloud Foundry environment, how might we set the port for the service link? Instead of port 8080, we could set it to 443 or some other port instead. This is my first guess, but there could be other solutions as well.
Thank you very much!