Questions tagged as 'jersey'

1
answer

REST Jersey + jackson servlet parsea part of the json as a JsonObject

I am receiving a JSON that jersey + jackson parse it directly on the object that will contain the information. The thing is, I want part of that JSON to be saved as a JSONObject or JSONArray . This would be the JSON that is received, {...
asked by 16.10.2018 / 11:49
1
answer

Error sending json parameters by the PUT method in WebService client with java and jersey

I have a WebService client side application in JAVA and server side in PHP. I am trying to send a request with json parameters by CURL command as seen below: curl -H 'Content-Type:application/json' -X PUT -d path=4920 -d message="I love yo...
asked by 15.09.2017 / 18:34
1
answer

Error deploy java jersey with Tomcat 8.5

I am using IDE Myeclipse CI 10 , the code works perfectly when publishing and consuming the service from my IDE, but when I deploy the service I tried to consume it from my server Tomcat 8.5 shows me an error. Java code package logic; imp...
asked by 07.05.2018 / 16:23
1
answer

How to reconnect a wasync client (atmosphere) when the server goes down?

I am developing a project for which I must implement PUSH notifications with an atmosphere server. For this I am using a wasync client. In the original project, it is an Android client, however I isolated both the server code and the client to i...
asked by 17.02.2016 / 10:16
1
answer

Swagger-ui throws the error "TypeError: property is undefined" when rendering the file swagger.json

Swagger throws the error TypeError: property is undefined by the Javascript console when trying to render the "swagger.json" file generated by the swagger-core module that I have integrated into the API that I am developing with Jersey (J...
asked by 17.12.2015 / 12:41
1
answer

JAX-RS and JSR 311

Well my question is this: what is the difference between JAX-RS and JSR 311 ? Since I understand that JAX-RS is an implementation (that is, an API) of JSR 311 and JSR 311 is the specification. But I have found A...
asked by 24.08.2016 / 18:46
0
answers

Does not update JAVA REST API data with Jersey

I have mounted a API in jersey , create a class that has the methods > REST and it is working, input data from the client POSTMAN where GET , POST , PUT , and DELETE work, send POST or PUT are executed correctly, but after havin...
asked by 19.04.2016 / 21:03
1
answer

JAX-RS Overwrite method with same path

Currently I have a generic rest service, which receives all the calls and processes them according to the type of operation. Some of the calls would be: / user / 1 / v3 / people / user / 1 / v3 / machinery Then depending on whether t...
asked by 27.11.2018 / 11:02
1
answer

jersey web services tags

hi I'm trying to create a web service with an eclipse jersey that receives and returns an xml, the structure of the xml should be like the following: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <root> <values>...
asked by 05.01.2018 / 19:27
0
answers

Error processing request when adding dependency maven jersey-core

I am in a project where I was requested several functionalities through REST services, most of the functionalities are already developed and working, however there is one that corresponds to receiving the sending of several files through multipa...
asked by 19.11.2018 / 07:52