Rukmani,
Why wouldn't you use a http request node like Kim and Francois recommended? I completly agree with them. You should use out of the box functionality when it is available.
Is it because you don't want to refactor your code too much ? Not sure if you know this but you can propagate a message inside you java code and save the response in the Environment tree. In your code you can then access the response. Depending on the use case better alternatives exist.
Can you eloborate on why you don't want to introduce a new node ? Or can you share you java code ?
------------------------------
Jef Jansen
Integration Architect
IntegrationDesigners.com
Kontich
------------------------------
Original Message:
Sent: Tue April 08, 2025 09:50 AM
From: Rukmani T
Subject: HTTP API Call using Java compute node?
Thanks. But just want to know even after passing keystore , truststore details it is throwing SSLHandshakeException: Certificate_unknown.
Do we have the provision to call HTTP call frm JCN node?
------------------------------
Rukmani T
Original Message:
Sent: Tue April 08, 2025 08:51 AM
From: Francois Brandelik
Subject: HTTP API Call using Java compute node?
Bad design decision. Use the HTTP Request node!
------------------------------
Francois Brandelik
Original Message:
Sent: Tue April 08, 2025 01:45 AM
From: Rukmani T
Subject: HTTP API Call using Java compute node?
Previously from JCN we used to fetch details from DB. Now DB is replacedby API.
So instead of introducing a new node, it was suggested if we can use JCN itself to make HTTPS API call.
So from JCN , how to pass truststore or keystore details?
------------------------------
Rukmani T
Original Message:
Sent: Tue April 08, 2025 01:34 AM
From: Kim Meynendonckx
Subject: HTTP API Call using Java compute node?
Hi,
I don't think a JCN can use automatically ACE's SSL profile or keystore settings.
You must load keystores manually in code using KeyStore and SSLContext.
What's the reason you can't use HTTP request node to call the api?
mvg
Kim
------------------------------
Kim Meynendonckx
Original Message:
Sent: Mon April 07, 2025 07:59 AM
From: Rukmani T
Subject: HTTP API Call using Java compute node?
Instead of HTTP Request node, need to use JCN for calling HTTP API. Using mqsichangeproperties gave truststore and keystore. But still I am getting SSLHandshake error: Unknown certificate.
Please advise.
------------------------------
Rukmani Thirunavukkarasu
------------------------------