I have created a application in NW OnDemand. In that I want to call a web service which is created in ByDesign. This web service requires basic authentication. I implemented a JAVA client code to call the web service and provided user name and password using "BindingProvider" interface of JAVA. When I run my app in Local NW server, it is working fine. It sends the request to end point URL successfully and receives the response too.
However, when the same app is published in SAP NW Cloud Server and run in cloud, I am getting an error saying "HTTP transport error: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake".
I know this error is related to SSL connection. What I assume here is, despite giving an message level authentication details for the web service in JAVA implementation code, I also need to open an SSL connection in SAP NW Cloud server to reach my end point. How to do that?
So in a simple words, How to consume a SOAP based secure web service from a app running in SAP NW Cloud server?