on 12-01-2017 1:21 PM
Dear All,
I have a java application to send emails using gmail smtp config. The email will be sent using the REST calls. I want to consume this service in HANA XS-JS as an outbound call. I have configured the xshttpdest file and added the certificate in trust store since its a https call. But when I try to call the mail REST service I get error "HttpClient.request: request failed: internal error occurred "Failed to send request to socket...rc = -1"".
I tried changing the port to 80, 443, 8080 but did not solve the issue. Am I missing out anything in the configuration?
xshttpdest file config:
description = "Mail config";
host = "mail1XXXXXXX.hana.ondemand.com";
port = 443;
pathPrefix = "/mail";
useProxy = true;
proxyType = http;
proxyHost = "proxy";
proxyPort = 8080;
authType = none;
useSSL = true;
timeout = 0;
sslHostCheck = true;
sslAuth = client;
Thanks,
Mayur
Hello, Mayur. I suggest that you should check your .xsaccess to see whether you have eliminated authentication.
{
"exposed": true,
"authentication" : null
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.