Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
row2 = new row2Struct();
if (errorResponse_tREST_1 != null) {
row2.ERROR_CODE = errorResponse_tREST_1.getStatus();
} else {
row2.Body = restResponse_tREST_1;
}
String restResponse_tREST_1 = "";
try {
restResponse_tREST_1 = restResource_tREST_1
.post(String.class, context.json_request);
} catch (com.sun.jersey.api.client.UniformInterfaceException ue) {
errorResponse_tREST_1 = ue.getResponse();
}
// for output
row2 = new row2Struct();
if (errorResponse_tREST_1 != null) {
row2.ERROR_CODE = errorResponse_tREST_1.getStatus();
} else {
row2.Body = restResponse_tREST_1;
}
com.sun.jersey.api.client.ClientResponse restResponse_tREST_1;
try {
restResponse_tREST_1 = restResource_tREST_1
.post(com.sun.jersey.api.client.ClientResponse.class, context.json_request);
} catch (com.sun.jersey.api.client.UniformInterfaceException ue) {
errorResponse_tREST_1 = ue.getResponse();
}
// for output
row2 = new row2Struct();
row2.Body = restResponse.getEntity(String.class));
row2.ERROR_CODE = restResponse.getStatus();
org.apache.http.impl.EnglishReasonPhraseCatalog.INSTANCE.getReason(row27.ERROR_CODE,null)