Questions tagged as 'jax-rs'

0
answers

Doing a relationship update using REST, Jax-rs, Jersey and Javascript

Well, I got a base to do a simple CRUD from just one table using REST and the others I put into the question, everything worked perfectly, until I put more tables (classes) and relationship between them, after the addition of the relationships s...
asked by 04.01.2017 / 00:40
0
answers

Error fetching WebService

I'm trying to create a Webservice REST, however I'm having trouble returning the result. At the time Webservice returns the information, it issues the following error: 2016-02-24T00:09:50.259-0300|Advertência: StandardWrapperValve[br.com.servi...
asked by 23.02.2016 / 17:33
0
answers

Android sending POST Json using JAX-RS receiving object with array null [closed]

I'm trying to post an object but the array only comes null .. can anyone tell me what's wrong? @XmlRootElement public class Produto implements Serializable{ private String nome; get e set... private List<Tipo> tipos; ge...
asked by 13.11.2015 / 01:27
1
answer

'_ $ visited' property on JavaScript object on return of mapv () function from Obervable

I have a WebService implemented with JAX-RS and I'm consuming it with a service ( utilizando Angular 2 ) Follow the service: @Injectable() export class ModeloService { constructor(private http: Http) { } getAll(): Obser...
asked by 17.01.2018 / 18:22
1
answer

Webservice delete error [closed]

I have a problem with my webservice. You are giving this error:    RequestFailed RequestFailed - > Status: (405) The code I'm using: @DELETE @Produces("text/plain") @Path("ExcluirLista/{usuario}") public boolean excluirTodos(@PathPar...
asked by 27.09.2017 / 15:52
1
answer

The @Form annotation of RestEasy does not work in Glassfish 4.1

I'm trying to make a legacy web java application that is bundled inside an EAR and that was written for JBoss 7 to work on Glassfish 4.1. The application is not built with maven or gradle (so please do not post answers about maven dependencies...
asked by 27.10.2015 / 19:56
0
answers

Refactor the code using JAX-RS

I'm starting in the programming world and have to refactor a routine using another library. The routine uses the apache lib to do Http requests org.apache.http.* , I have to refactor using Jax-RS. Here is the example of the routine I ha...
asked by 21.11.2018 / 15:38
1
answer

Sending email in a ji-js api

I have a demand to develop an api that among other features needs to send warning emails, in the architecture it has been defined that we will use javaEE jax-rs has anyone worked with any api that integrates sending and receiving email in java?...
asked by 23.01.2018 / 20:24
1
answer

JAX-RS Rename the Set

I created a project using JAX-RS to make a web service REST and it works, I can access the result in a resource and everything else but it looks like this: { "carroes": { "carro": [ { "@id": "1", "modelo": "Gol",...
asked by 04.01.2017 / 18:17