Questions tagged as 'web-service'

1
answer

Connection with WebService SOAP WSDL

I'm trying to get an xml from a Webservice soap wsdl. With the code below I can give a get in your methods. $client = new SoapClient('http://www.roveri.inf.br/ws/cnpj.php?wsdl'); $result = $client->__getFunctions(); print_r($result); R...
asked by 28.01.2017 / 19:29
1
answer

Popular ListView with data from Retrofit2

I'm trying to pupolar a listView with information I get from WS through Retrofit2. But error somewhere and nothing is presented, neither error nor the listView. can give me strength for kindness. Follow the code section. //inicio um Arr...
asked by 14.01.2017 / 12:09
2
answers

How to return image from DataSnap Server and show in browser

I developed an application made with Web Service REST , where the data is consumed for each client request, everything works perfectly, I created Web Service REST from DataSnap REST Application , so a form is available to dete...
asked by 21.10.2016 / 15:56
1
answer

Modify URLs for REST requests

I have a service running in Delphi in DataSnap REST , to access any function of REST via link would be like this: servidor:porta/datasnap/rest/classmethods/funcao/parametros I needed to change the url from /datasnap/rest/clas...
asked by 07.10.2016 / 14:52
3
answers

CNPJ Webservice

I need to get some CNPJ data for my registration system, I found this webservice in interwebs. GET - link But I'm not able to implement PHP code. Could you help me? Sorry guys, Here is my attempt to implement: <html> <...
asked by 21.07.2016 / 23:33
1
answer

Pull APIs Rest and display the data on the screen

I can make an ajax for the service and return the data, I can display the first Product object and its properties, but when there is another object inside ProductImage that has more than 5 objects inside, I can not view their data $.getJSON(...
asked by 31.05.2016 / 15:58
1
answer

Authentication in different databases

Hello, I'm developing a webservice (in Java) of integration in different databases and I ended up falling into a problem in which I'm not finding a solution. The queries are entered manually and will be called according to the registered serv...
asked by 24.03.2016 / 23:27
1
answer

Pass parameters to the method by URL

How do I capture parameters requested by the URL in a webservice ? For example: I have the following webservice: http://localhost/teste/WebService1.asmx/Produto How do I pass the parameters of the Produto method? To make the...
asked by 26.10.2015 / 02:18
1
answer

Interpret the JSON response of a WebService that was called by the Arduino

How do I interpret information from a WebService that was called by Arduino? The WebService returns a JSON and needs to interpret it. An example of the answer can be seen below: [{"valor":"10"}] The code below, obtained from this sit...
asked by 02.12.2015 / 14:53
2
answers

Error in Android connection with Web Service Restfull

I'm developing an android app for a course in college. I am connecting the Restfull Web Service with the android using the Gson library to pass data. In the method below I am performing a POST request, in that I make this connection via web i...
asked by 07.12.2015 / 21:39