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...
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...
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...
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...
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...
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...
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...
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?...
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",...