Questions tagged as 'web-service'

1
answer

Is ASMX web service obsolete?

I came across the need to consume an ASMX Web Service. So far I had just consumed RESTful APIs. I noticed that the same is quite different from a RESTful API, for example. Given the way it's set up, it looks like it's already been set aside,...
asked by 22.03.2018 / 13:23
2
answers

Uploading android images to folder on Server

How can I upload an android image to a folder on the server? I have the address of the folder that I can use to save image, I am already using this address to be able to take the images, but now I need to save images to that folder of the server...
asked by 07.10.2014 / 14:55
2
answers

call an .exe in javaScript or html [closed]

I'm migrating a desktop system to the web, we already have a great part ready, I would like to upload it and call what is not yet ready for the application by the browser, I would like a help, in the following question what is the best way to do...
asked by 30.05.2017 / 22:02
2
answers

How to return a pure Json (without XML encapsulation) using webservice in C #

I have a webservice running locally , which performs queries directly in a database using a string parameter . Here is the result of the query: ThesecondtimeIhaveajavascript(Jquery)applicationthatconsumeswebserviceviaAjax.Aftersomeresearch...
asked by 02.11.2016 / 15:08
1
answer

When consuming an API that returns me serialized data in JSON, how do I know the data types of the properties?

I have no experience with JSON or web services, but I'm trying to consume an API that returns me weather data. Here is the documentation of the API I am trying to consume. This API returns me serialized data in JSON. As I read about JSON...
asked by 14.10.2016 / 03:24
1
answer

Santander Boleto Registrado via XML

I'm trying to migrate the system to Santander's registered tickets. I was finally able to receive the 2017 manual today. 1 - When I try to access the link to generate a ticket, it says "403 Forbidden"    link 2 - Is it a SOAP request...
asked by 11.05.2017 / 14:37
1
answer

Error 242 when consuming NfeDownloadNF

I'm trying to consume the NFE download service on the farm: https://www.sefazvirtual.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx But I have gotten the following error:    ERROR: 242   Reason: Rejection: nfeCabecMsg element mi...
asked by 03.11.2015 / 17:40
1
answer

Security attributes in web service

Can you use AuthorizeAttribute in webservice asmx, soap or rest? And custom attributes, like the one below (example only)? [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct) ] p...
asked by 21.10.2015 / 20:57
1
answer

Error 400 when sending request to ESocial (C #)

I'm getting 400 error response to executing the SOAP request on eSocial servers. The error occurs in this command: using (HttpWebResponse resposta = request.GetResponse() as HttpWebResponse) I installed the certificate chains. I installe...
asked by 10.09.2018 / 15:04
1
answer

How to capture image from the camera of the mobile and send it to the server via rest using the volley?

I'm developing a MOBILE application that communicates with my web application, the application developed in Android Studio, and the web in PlayFramework . I created a form in APK that already consumes the service via rest using volleyball,...
asked by 31.12.2017 / 15:27