Invalid format issue Joda LocalDate in collection

Let's say I got an entity: @Entity @Table(name = "history_experience_entity") @AllArgsConstructor @NoArgsConstructor public class HistoryExperienceEntity implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValu...
more »

2017-08-17 21:08 (0) Answers

Displaying Response code Messages in a JSP

I am calling a service which validates email address. In case of an invalid email address the service returns some messages and I need to display that message in a JSP. In the back end java object I get the messages as part of the service response bu...
more »

2017-08-17 19:08 (1) Answers

Passing variables to obejct method on Flight PHP

According to the Flight PHP documentation, to use an object method is by using: Flight::route('/some/route', [$object, 'method']); and to use route parameters is by using: Flight::route('/@name/@id', function($name, $id){ echo "hello, $name (...
more »

2017-08-17 16:08 (1) Answers

node js appropriate for mass updates

i wrote a script in node to interface with 2 systems and apply a bunch of updates to one using api. Using individual examples updates work fine but when putting it all together i'm getting a timeout error. Guessing due to the non-blocking nature of...
more »

2017-08-17 16:08 (0) Answers

How to pass Category Attribute value from REST API

I am able to upload files or create node through the Content server(16.0.3) REST Api (POST: api/v1/nodes). But How do I pass Category Attribute value while uploading file to opentext Content server.. Because as per DeveloperGuide there are only 3 pa...
more »

2017-08-17 11:08 (0) Answers

REST controller returns HTML page - good practice?

last time I found a example of REST app, which one REST controller returns HTML page(index.html). As a front-end was used Vue.JS and other communication was realized by REST controller returning normal JSON. And now I stil thing how this solution lo...
more »

2017-08-17 08:08 (2) Answers

REST API Questions

I'm creating a service with RESTful APIs which will be responsible for serving Oracle transaction logs. The service will provide GET and DELETE APIs to fetch/delete transaction logs in a given time range. For creating APIs, I have 2 options: GET: /...
more »

2017-08-16 21:08 (3) Answers

Is using authentication as context RESTful?

I am wondering if implicitly using the currently authenticated user as context for API interactions is RESTful or not. For example, assuming all my API calls are authenticated using standard HTTP security: Should a query to retrieve a list of orders...
more »

2017-08-16 18:08 (5) Answers

Browser doesn't show any XML tag tree

I am calling a REST based service and the URL that I am calling doesn't show any XML tags but by pressing F12 (developer mode) I found out that the response code is 200 meaning it is successful. I am kind of lost here. What I am suppose to do at th...
more »

2017-08-16 16:08 (1) Answers

gradle dependency for RESTful jersey

Adding RESTful support to an existing web app using jersey: compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.25.1' has the following huge dependencies \--- org.glassfish.jersey.containers:jersey-container-servlet:2.25.1 +-...
more »

2017-08-15 19:08 (0) Answers

Jersey REST service throw Timeout exception

we have a Jersey REST service, and REST client using Spring's REST template, once in a while we noticed the client got 500 Internal Server Error from the REST service: error: 500 Internal Server Error; nested exception is org.springframework.web.cli...
more »

2017-08-15 18:08 (1) Answers