Posted: Wed Oct 10, 2018 10:06 pm Post subject: Unable to fetch response from HTTP URL
Newbie
Joined: 11 Apr 2017 Posts: 3
Hi All,
We had a existing flow in IIB v-9 which our flow will call a static method in java class. In that method we wrote some logic to get the xml response from HTTP URL filtering the response and send it to a compute node variable.
It works fine while we are working with IIB version 9.0.0.8 and its working fine as a standalone java project in IIB-10.0.0.12, but we are unable to fetch the response in IIB version 10.0.0.12 if we use that code in the message flow.
Getting this exception javax.net.ssl.SSLException: java.lang.NullPointerException at the below line 3
URL data = new URL(generate_URL);
HttpURLConnection con = (HttpURLConnection) data.openConnection();
in = new BufferedReader(new InputStreamReader(con.getInputStream()));
we added even certificates from the site url into our broker cacerts file and restarted the broker still facing the same issue.
Any help would be greatly appreciated, please advise.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum