Most voted "web-service" questions
Web services can be defined using Web Services Description Language and consumed via Simple Object Access Protocol, or follow the REST model.
Learn more…901 questions
Sort by count of
-
4
votes1
answer84
viewsDoubt about the theoretical part of web services
Hello, folks. I’m studying the web services part and I’m a little confused with the theoretical part. I was reading the article on this site…
web-serviceasked 8 years, 4 months ago postgisBeginner 143 -
4
votes1
answer122
viewshttps (webservice) requisition from the São Paulo Public Treasury
I’m trying to make a request https the Webservice of the São Paulo Public Treasury, but I don’t know where I’m going wrong. This is the address: http://www.fazenda.sp.gov.br/contas/webservice.shtm…
-
4
votes1
answer3193
viewsJava SOAP webservice authentication engine
I am building a Java webservice (wsdl) that will be consumed via SOAP. I need to implement a form of authentication in each method of the webservice so that each request is tested if the source is…
-
4
votes2
answers5541
viewsExpected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 Com Webservice JAX-RS e Android Retrofit
I’m studying Webservice and consumption on Android with Retrofit2. I’ve done tests with public Apis like Viacep and FIPE and I can use the retrofit quietly, very easy but when I set up my own…
-
4
votes1
answer1071
viewsCommunication failure with PHP webservice
I am trying to access a PHP webservice through an ASP.NET application ccbusca.pesqwebservice client = new ccbusca.pesqwebservice(); client.Url = "http://www.ccbusca.com.br/webservice.php"; ret =…
-
4
votes1
answer644
viewsHTTP Error 403.7 Forbidden - SEFAZ RS
I’m trying to access the address RS electronic invoice authorization. When accessing I receive the following message: Server Error in Application "PRNFH/WS/NFEAUTHORIZATION" HTTP Error 403.7 -…
-
4
votes2
answers401
viewsSimultaneous calls in Restful service
Hello, I’m having doubts on how to make fun simultaneous calls (about 100) in a REST service. The example of code I have is the following: using (var http = new HttpClient { BaseAddress = new…
-
4
votes2
answers2246
viewsHow to print from a web application to a local printer with C#
I need to program in web some resources that perform local impression, where text and commands are sent to a specific device without the user interaction. For example the issuance of labels on Zebra…
c# web-service webforms wcf impressionasked 7 years, 4 months ago Desenvolvimento Sistema Gestor 59 -
4
votes1
answer369
viewsHow do I relate tables with json returns to php?
Please help, I’m new to programming and I need to do a table relationship Mysql, with return in JSON, I tried the following code, but it is in error. I already searched a lot on Google and Youtube,…
-
4
votes2
answers926
viewsHow to reference the webservices of eSocial by Visual Studio?
I already followed the instructions of this question read, reread, and repeated the tutorial by Pedro Gaspar. And I can’t get eSocial webservices referenced by Visual Studio. What I’ve done so far…
-
3
votes2
answers1646
viewsError creating new user in Moodle via webservice
I have been trying to add a new user to Moodle using your webservice api I have already modified several times the parameters passed via post, tested using an array instead of an object, tested some…
-
3
votes3
answers3055
viewsWeb service in javascript
How to consume a Web Service by javascript using Visual Studio? I did a search and found a way to perform with Jquery but never used this before. I need to consume this Web Service to search for…
-
3
votes3
answers14922
viewsConsume webservice dynamically
I am developing an Asp.net+c# application that will access some public webservices. I would like to do something flexible and easy to maintain in the future. I thought of calling the webservice by…
-
3
votes3
answers1092
viewsWebservice REST does not return XML in IIS 8.0
The webservice in visual studio 2013 works beautifully. I added it to the IIS of windows 8.1, and when it comes time to send the data via REST, it gives me this error: The server encountered an…
-
3
votes3
answers553
viewsWhat is the difference between a web service in the same project and a different project in the same project?
Everyone tells me to create a REST and not SOAP. I know I’ll only get it well doing. I picked up an old project at the company where I’m with a web service in the same project. As I’m using MVC, I…
-
3
votes1
answer70
viewsName of columns in web service return xml
That line gives me that mistake: if (db.T_TarefaParceiro.Max(p => p.IDTarefaParceiro) != null) The mistake The cast to value type 'System.Int32' failed because the materialized value is null.…
-
3
votes2
answers9442
viewsHow to catch the JSON return via jQuery?
I have a link from Click to Call that returns me a JSON. How to proceed to retrieve the data generated in JSON via jQuery? Link:…
-
3
votes1
answer333
viewsWeb Service Testing with Arquillian
I’m doing a unit test class and I’m using Arquillian because of CDI, in this case I’m testing a Web Service for authentication of company users. Follows the source of the test class:…
-
3
votes4
answers3679
viewsConsume values from a webservice
I have no knowledge in the use of webservice, and I need to use one now to consume data from a database(Normally I would fetch the data directly from the database, but in this case the admin did not…
-
3
votes1
answer1561
viewsjava.lang.Nullpointerexception Error in JDBC Connection with WS + Postgres
I am creating a WS that connects to a DB Postgresql and performs a query in a single table. I try to run it locally, but the problem is when running the application gives the following error: HTTP…
-
3
votes2
answers5778
viewsHow to send Jsonobject to a Web Service?
I am trying for the first time to consume a Web Service in my Android application by sending data by JSON format. To accomplish the task I have a class to make the connection. public class…
-
3
votes2
answers5118
viewsUpload android images to Server folder
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 grab the images but now I…
-
3
votes1
answer589
viewsApplication Layers and Web API 2
I have a question in the planning and structuring of my application and hope to hear the most experienced. Today, in the plan, I have access to data (DAL) and the MVC 5 Web application in different…
-
3
votes2
answers208
viewsSend geolocation to web service and update to other devices
Well I couldn’t come up with a good title for the question. But I am with the following problem, I am wanting to make an app like Easy Taxi, I will take the customer’s location and send to the…
-
3
votes1
answer40
viewsWrong webservice message integrating with Actionscript
I’m making an application restful in C#, where I will receive a request via post and return a JSON or a string to the applicant. [HttpPost] public string confirmahora() { String OUTPUT = "mensagem";…
-
3
votes2
answers77
viewsDoes parameter name size influence http request time?
An http request for a service has its performance (bandwidth consumption/internet/time) changed if the parameter names are large? Example. Requisition POST with the following parameters {…
-
3
votes2
answers518
viewsHow I debug a method in a Web Service . asmx
I have a call in my application, which goes to a WS and executes a method and returns me. How do I debug the WS?
-
3
votes1
answer754
viewsDifference between Httpclientbuilder.create(). build(), Httpclients.createDefault() and Defaulthttpclient
When creating an HTTP connection using: HttpClientBuilder.create().build(), HttpClients.createDefault() or: DefaultHttpClient. What’s the difference? private static CloseableHttpClient httpClient =…
-
3
votes0
answers421
viewsError importing Nfse Service from Aracaju
I’m trying to add this service in VS 2013: https://www3.webiss.com.br/aracajuse_wsnfse/NfseServices.svc But it is not possible to add this URL as a service. Normally the URL’s I add do not have the…
-
3
votes1
answer1087
viewsHow to add a custom header in AJAX with pure javascript?
I am using pure javascript to send an AJAX with the Access_token header with a key inside, because the web-service asks for this request... but it is not going as I would like. I want you to stay…
-
3
votes1
answer1419
viewsAPP Communication with Web Server
I would like to know the best way, in terms of security/performance, to make my mobile/android application communicate with a web server (apache/php, for example) to receive/send data. The idea is…
-
3
votes2
answers1833
viewsDatabase insertion via Webservice
Good night, I know very little about Webservice. And, through tutorials, I managed to create one. The content was taken from this site: Creating Web-Service The query is successfully made, but now I…
-
3
votes1
answer1277
viewsError with SOAP webservice using PHP
I’m trying to learn how to make one webservice using this tutorial: http://www.sitepoint.com/web-services-with-php-and-soap-2/ But my server is returning the following: Error Response not of type…
-
3
votes1
answer850
viewsDDD - What is the best option (Layer) to consume an external Webservice?
Pattern DDD. I need to consume one Webservice external, treat the return of that Webservice and return the result through the layer of Application. It would be interesting to consume this Webservice…
-
3
votes1
answer1036
viewsWhat is the simple way to create a Webservice Rest from an existing Dynanic Java Web project?
Fala galera I’m a beginner in the world of java and created a Dynamic web project where I use Hibernate, Primefaces and Tomcat. Everything is working, screens, records (CRUD) and stuff. Only now I…
-
3
votes1
answer538
viewsAngularjs + PHP: How should data be consumed?
Starting some readings on the Angularjs for a possible future project, it came to my mind some doubts regarding the client/server integration and the consumption of the data provided by the server.…
-
3
votes1
answer271
viewsWeb service security attributes
You can use the AuthorizeAttribute in asmx, Soap or Rest? webservice and custom attributes, such as the below (example only)? [System.AttributeUsage(System.AttributeTargets.Class |…
-
3
votes1
answer1677
viewsError 242 while 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 obtained the following error: ERROR: 242 Reason:…
-
3
votes2
answers7594
viewsHow to use the $.ajax function date parameter
It is possible to send two JSON at the same time as the parameter value date jQuery.ajax()? Is there any way to call these two arguments, since I need to call these two json and show on screen?…
-
3
votes1
answer277
viewsC# Windows Forms Web Services
I wonder if it is possible to work with web services using the application made in windows Forms. Is it possible ? If so, would you have any reference that might help me solve this ?
-
3
votes1
answer275
viewsGeneral namespace for mapped class
Could someone help me with that question? Based on a Webservice result XML (OBIEE) I generated an XSD in a online converter and with this XSD I managed the class mapped through the command xjc. When…
-
3
votes1
answer794
viewsWebservice of the post office for more than one product per freight
Hello, I’m using the webservice of the correctors: http://ws.correios.com.br/calculador/CalcPrecoPrazo.asmx To calculate the freight cost and term. The call is made via JS(jquery/ajax) and the…
-
3
votes1
answer1027
viewsFill select return ZIP code web service
I am using the example of the site viacep for when the user enters the zip code is filled in the other data of the address, however I would like the state through a select to be filled…
-
3
votes1
answer3146
viewsHow to consume data from SOAP Web Service with android application?
I am developing an android application + web services SOAP + mysq, I was able to create the web services and make it run with the methods insert User and search I cannot make modifications using the…
-
3
votes1
answer776
viewsDelphi Web Service parameters
I have a service running in Delphi with Datasnap REST, it serves to read data and returns the query to those who requested, but now the client needs to consume this data via web passing some…
-
3
votes1
answer1099
viewsGet Data from Webservice in C#Action
I have an application that accesses third-party Webservice. To improve the testing process, I am setting up a website to simulate Webservice. This site consists of several Actions, which return XML,…
-
3
votes2
answers710
viewsWebservices with C#, make-up
I need to create a Webservice to export products. Creating Webservico is fine, but depending on the client, I will have to change the name of the elements. Example, Product Code element: Generic…
-
3
votes2
answers1756
viewsReplication between Mysql and Sqlite (E vice versa)
I am developing a system that integrates a Mysql database with an Android application (through a webservice). I can already make connection, pass data, change them in the database through the App…
-
3
votes0
answers349
viewsSet PHP Soapclient custom parameters
I am consuming an external webservice via PHP and the same requests authentication in a different way, the login and password has to be passed within XML. But I can’t authenticate. The call for…
-
3
votes1
answer767
viewsHow to pass a list of an object that contains another object (composition) to a JSON
I have two classes: Contact and Operator. A in the Contact class I have a composition: private Operadora operadora; I have a DAO where I have a class that returns a list of Contacts, in the console…