Questions tagged as 'web-service'

1
answer

How to get a return item from a json encode

I would like to know how to store each separate item so that I can then use it in a sharedpreferences . There is this class in my program .... public class Tab { private String UC; private String Instalacao; private Stri...
asked by 13.04.2016 / 15:15
1
answer

What Structure / Role of a Web Service?

I have a project in which I should create a website and an application (Intel XDK) of it, I thought it would be more ideal to have a 'core' of the application itself to do the communication of the database, so on the site just go requesting the...
asked by 15.04.2016 / 06:13
1
answer

How to call RESTful Web Services in Android application?

I would like to know how to develop an application that uses RESTful web services? What library do I need to create an app with RESTful web service?     
asked by 19.05.2016 / 21:28
1
answer

Rest Web Service using Slim Framework, in PHP, always gives error when called by an Ajax method, although it is executed?

I've implemented a WS Rest in PHP, but when I try to consume WS with an Ajax method it always returns me the error function. However the WS is recorded and the data is even recorded in the DB. Has anyone ever had the same problem? PHP WS code...
asked by 19.04.2016 / 13:06
2
answers

Bad request on a new iis server

I have 3 servers iis in production and homologation everything works ok. But in a new server I just created, installing all the necessary tools to run ASP.NET and putting the source code of a webservice in C # as a new site, returns me a Bad Req...
asked by 04.02.2016 / 17:12
1
answer

Is it possible to change the format of the json file?

I have a code that generates a Json file in this format: [ { "$id": "1", "poule": 73, "idusuario": 4, "vendedor": "ITAMAR SOUZA", "total": 50.00, "datajogo": "2016-01-19T00:00:00", "terminal": "(11)985590116",...
asked by 22.01.2016 / 02:18
2
answers

WebService in C # with 404 error

I'm doing maintenance on a C # project, which has WebServices. I created a new service and executed the program, it works as images below, but when calling the method it gives 404 error. Is this a normal behavior? Code using System; usin...
asked by 18.03.2016 / 17:20
1
answer

Retrieve WSDL from WebService NFe ASMX

How do I retrieve the WSDL from this service: link I need the WSDL to add it by Netbeans, there I can only add the WSDL and this is final asmx. EDIT : My CLasse looks like this: String nfeCabecMsg = "<nfeCabecMsg xmlns=\"http://...
asked by 10.02.2016 / 19:29
1
answer

Launch a Custom Exception

I have a method in my Webservice that throws an exception if the code of the card is already in use, ie when trying to release the access the system checks if it is already in use and returns the Exception . > Code in Webservice ... t...
asked by 12.11.2015 / 14:00
1
answer

B2W REST / JSON API -failed to open stream: HTTP request failed! HTTP / 1.1 401 Unauthorized

I'm starting an integration with B2W, they use a REST / JSON API, I am not finding where it is wrong in my code, it is something relative to the header, as I test with the chrome dhc complement and register the change correctly: Mycode:$url='ht...
asked by 08.08.2015 / 16:23