Questions tagged as 'restful'

0
answers

Calling the webservice with an XML

I have to develop a webservice (rest) in java that will be called by an excel add-in developed in .NET.     This plugin has to send an xml, what I did was transform into a string only the XML is huge. A string does not have enough space to alloc...
asked by 06.06.2016 / 17:40
1
answer

Respect \ rest does not work when trying to implement in my project

I'm testing a web application, but I need to implement the use of routing and I found it better to work with Respect \ rest. I followed all the instructions for using the class, but I can not print if I want a Hello world on the screen, what is...
asked by 21.04.2016 / 12:01
0
answers

Doubt when generating procedure return REST in jersey

I have a method where the return of it is a list, based on an execution of a procedure in the bank StoredProcedureQuery spq = em.createStoredProcedureQuery("PROCEDURE"); .... The return of this query are some fields in a t...
asked by 19.02.2016 / 12:57
3
answers

Return data from a URL with Query String

There is a service that needs to send data via query string and it gives me a JSON return, however, I'm not getting this return, it does not send the query string. $url = 'https://www.servico.com.br?nome=abc&cpf=abc&cep=abc' Having...
asked by 04.02.2016 / 18:46
0
answers

as Api rest with updated fifa ranking?

I'm developing a mobile app for sports results, but I'm having a problem. I need an api to get me the updated fifa ranking. Thanks for the attention     
asked by 11.02.2016 / 02:02
0
answers

Problem with CDI GlassFish Server

I'm developing a Webservice with the RESTful API, GlassFish server and I had the following error: Severe: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408: Unsa...
asked by 13.01.2016 / 20:48
0
answers

[jersey-servlet]: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes

I'm trying to upload application in WAS 8.5, however I'm taking this error when deploying, and with that the application does not run. WEB.XML <servlet> <servlet-name>jersey-servlet</servlet-name> <servlet-cla...
asked by 28.10.2015 / 12:42
0
answers

WebService Restful Jersey

I'm starting development of WebService Restful Jersey in Java and I'm not able to connect to perform a simple Hello World. I added the jar: asm-3.1jar jersey-core-1.19jar jersey-server-1.19jar jersey-servlet-1.19jar jrr311-api.1.1...
asked by 01.05.2015 / 20:33
0
answers

URL RESTful service working, but in ANDROID returns null

I'm trying to develop a rest service for my dad's store, I'm getting the results in JSON through the URL, but when I try executor the same method in android to try to fill the object, it returns null, I've debugged and I can go so the method tha...
asked by 20.04.2015 / 23:53
2
answers

doubt to consume api

I have the following service: [HttpGet] [Route("save")] public async Task<dynamic> save(VendaModel[] venda, string CnpjEstab) { dynamic retorno = null; VendaModel ultima = new VendaModel(); //TODO...
asked by 01.12.2018 / 18:03