Questions tagged as 'web-service'

2
answers

Consume webservice of address queries of a given city

I'm developing a web project that needs to feed everyone with the addresses of the streets and neighborhoods of the city where I live, and after performing a certain service by the user, link it to an address. In order not to manually register a...
asked by 31.10.2017 / 20:46
1
answer

incompatible types boolean can not be converted to Users

I am creating a function to insert new users into the database, but I have this error: "Incompatible types: boolean can not be converted to Users". Does anyone know a way to solve this case: public String InsertUserCpf(@PathParam("nome")String...
asked by 06.10.2017 / 19:58
1
answer

Problem trying to make HTTP request in Java

I have a problem and I would like you to help me solve it. I created a java application to consume a webservice I made in php. After much searching I was able to create a class capable of making http requests. The problem is that I'm encounterin...
asked by 15.06.2017 / 23:58
1
answer

Doubt verb GET WebApi

I currently have some compositions in my model that relate to other tables in my bank. When I set up get to bring me all the related data, I had several problems and doubts and when I could solve it, I do not know if it's the right one. Wh...
asked by 26.03.2017 / 21:01
1
answer

How to test the Restful API?

Hello, I'm practicing and the boy created an AP and told me to do the http methods of post, delete and etc ... I would like to know if it is correct what I did and the code of it, and how I do it for the test it. config.js //qualidade //va...
asked by 07.04.2017 / 15:34
1
answer

Problem trying to consume webservice on android

I'm trying to do a query through the android in a firebird database, the webservice is working perfectly however when trying to query through the application it generates the following error: 05-31 13:55:52.339 4062-4062/br.com.realsysten.rest...
asked by 31.05.2016 / 16:02
1
answer

Monitor real-time users IOS [closed]

Someone would know how to respond to the best way to get a real-time location of a user via GPS in IOS, I'm not sure if it would be correct for me to get the user's location every 10 seconds and make a request with the Web Service updating your...
asked by 14.12.2015 / 20:54
1
answer

Error entering data with accent

I'm sending the data by URL to my webservice if I put the path through the web browser example in Chrome: meuwebservice/inserirusu/João_da_Silva/fotógrafo and calling a method to display it so: Nome: João da Silva profi: Fotógrafo N...
asked by 05.11.2014 / 13:13
1
answer

Are there restrictions on rendering XML?

I have a file of 960 records where each record has 175 fields, is a real estate form. When I ask to loop the 960 records with only 10 fields enabled, it generates an error in the XML as picture. //Loopdosvaloresfor($i=0;$i<count($res)-1;$i...
asked by 06.09.2014 / 15:10
2
answers

How to save the variables to be used in the next .Java?

My main (parser) code looks like this: public class pFormasDePagamento { public static void parseXML(String xml) throws ParserConfigurationException, SAXException, IOException { InputSource is = new InputSource(new StringReader(xm...
asked by 01.10.2014 / 15:02