How to call REST Service from PRPC5.5
There is a requirement to call a REST Service from PRPC with proper authentication , to get the details for an operator. In PRPC 5.5 doesn't have REST Service.
Also the following code Snipped is given to call it.
Client restClient = Client.create();
restClient.setFollowRedirects(true);
restClient.addFilter(new HTTPBasicAuthFilter("abcd", "efgh"));
WebResource r = restClient.resource("https://ctsi-dev.jpmchase.net:1046/hr/v2/workers/k001941?view=basic");
Worker response = r.accept(MediaType.APPLICATION_XML_TYPE).get(Worker.class);
can you please suggest how can we use this code in PRPC 5.5