As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
The body of the response generally contains a stack trace of the problem
<br> private static ClientResource getClientResource(String uri) {<br> ClientResource clientResource = new ClientResource(uri);<br> clientResource.setChallengeResponse(ChallengeScheme.HTTP_BASIC, <br> "kermit",<br> "kermit");<br> return clientResource;<br> }<br>….<br> String uri = REST_URI + "process-instance/3251";<br> Representation response = getClientResource(uri)<br> .get(MediaType.APPLICATION_JSON); //ResourceException if process 3251 doesn't exist<br>