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
-
0
votes1
answer670
viewshow to send an array list to a web service
Hello I was wondering how can I send an array list to a web service via php, this is my web service. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope…
-
0
votes1
answer19
viewsIs it possible to have a constant populated through a Spring @Service?
We have a web service that one of its parameters is called source and this source is always validated against a code in the database. For each of our services, I have to validate this code. This…
-
0
votes0
answers36
viewsWeb service connection problem - Networkonmainthreadexception
I’m running a method on android, where I try to perform a recover some information from a webservice ... I stopped to debug and whenever it will connect it falls in the catch and when it continues…
-
0
votes0
answers37
viewsError calling a service through Serviceclient in C#
I have a part in the project (MVC that connects to BD through web services) of my company that calls WCF services this way: public static ReturnType CallWebMethod<TService, ReturnType>(String…
-
0
votes1
answer1067
viewsRetrofit JSON - Error Expected BEGIN_ARRAY but was BEGIN_OBJECT
I’ve done some Retrofit projects and it always worked but I’m doing one that consumes the end-point of api.github.com and is giving an error and I’m not able to find a solution, I’ve done everything…
-
0
votes1
answer101
viewsWebservice delete error
I have a problem in my webservice. It is giving this error: Requestfailed Requestfailed --> Status: (405) The code I’m using: @DELETE @Produces("text/plain") @Path("ExcluirLista/{usuario}")…
-
0
votes0
answers547
viewsError in webservice: javax.servlet.Servletexception: java.lang.Nullpointerexception
I am trying to execute a query in my Webservice, but the function that query is inside of, break from nothing. My code: public boolean excluir(String usuario) { String sql = "DELETE * FROM…
-
0
votes0
answers650
viewsMaxreceivedmessagesize (6553 6) was exceeded. How to resolve?
I am consuming a web service by SOAP, but the following message is displayed: The maximum quota size of incoming messages (6553 6) was exceeded. To increase the quota, use the Maxreceivedmessagesize…
-
0
votes1
answer272
viewsincompatible types Boolean cannot be converted to Usuarios
I am creating a function to insert new users in the database, but present this error: "incompatible types: Boolean cannot be converted to Usuarios". Does anyone know a way to solve this case: public…
-
0
votes1
answer360
viewsWEBSERVICE ASP.NET Method not found
I have a problem in a webservice that I created and I tried several adjustment options and could not solve. I have the list of Methods available according to the image below When I select the VAPS…
-
0
votes0
answers155
viewsHow to implement the HTTP protocol DELETE method in a Java Web Service REST
I am wondering how I could implement the DELETE method of the HTTP web service REST JAVA protocol, when I run it says that I am running the GET and not DELETE method. //Method called in Web Service…
-
0
votes0
answers84
viewsSend information to Rest and trigger notification
I’m in doubt in the construction of a REST, not well in construction, but which way to go, what approach. See my business. 1) The customer asks for a discount. 2) As the seller is not allowed to…
-
0
votes0
answers151
viewsWeb Service SOAP
I’m having a very unusual problem with a SOAP application. I have a simple client to take a consumer test. When I test directly in the service view action returns the result correctly, but when I…
-
0
votes0
answers43
viewsWhat method to use to not show the json data on the php page that serves as a request for android app
Good evening, I have an android app and I am using this php code for the request of a json and I wish that the data would not appear when someone used the url, because so can see the exit…
-
0
votes0
answers171
viewsI can’t use the webservice
I have the following webservice: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl and in that WS i have the following function: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl/userLogin I send a user…
-
0
votes0
answers357
viewsWebservice PHP Soap
Opa Personal, Good Afternoon! I’m having trouble consuming a webservice. Fis a basic program to consume but is presenting the following error message: "Request should be informed". I could not…
-
0
votes1
answer328
viewsBasicnetwork.performRequest: Unexpected Response code 500 for
I am developing a mobile application that will consume services from my server, developed in the Play Framework. I have already created the login service as below: public class Services extends…
-
0
votes1
answer185
viewsHandle response from the Rest service using Volley
I’m developing an application in android studio in which consumes a service I created in Play Framework. I am learning now how to create and consume services, and I am having difficulties in…
-
0
votes0
answers152
viewsWhere do I start to integrate my database game?
I want users of mine Mobile game can log in and save game information, and have the option to share some information (for example a created character) for other users to download and use. The…
-
0
votes1
answer1105
viewsAccess-Control-Allow-Origin error
Personal I am trying to make a request from one server to another to perform a registration, but I always get returned this error: Failed to load http://domain: Response to preflight request doesn’t…
-
0
votes1
answer185
viewsVolley Android, recover server response
Hello, I am using Volley for Android to connect to my Webservice, but I would like to display the server response independent of the Status that returns HTTP via webservice. explaining better: When…
-
0
votes0
answers30
viewsHow to migrate TXT file to Webservice?
Good staff I have this code: public static string filePath = Path.GetTempPath(); public static void ImportFile(string path, string fileToRead) { if (!File.Exists(path)) File.Create(path).Close();…
-
0
votes1
answer169
viewsGenerate notification on the web platform every time a new form arrives
I am developing two applications one web (service) and another mobile (consumes the service), in apk the user send Formularies to the web application, hence I would like to create a kind of…
-
0
votes1
answer549
viewsAndroid Application Consuming Webservice
I’m trying to create my first app to make use of a Webservice, in which case I’m just trying to return some of the information via string and later put each piece of information in its proper…
-
0
votes1
answer205
viewsProblems generating Oauth access token with Httpurlconnection
I’m trying to file a request for a web service that uses Oauth to generate an access token. However, although the request returns the Http 200 code, json only appears as…
-
0
votes2
answers1034
viewsMeasure distance from multiple points using Google
I’m working on an app where the user can see the closest establishments to it. In the bank I keep the latitude and the longitude, and in mobile I recover the user’s position. I made a LIMIT in SQL…
-
0
votes1
answer1849
viewsConsume Webservice in Deli
I created a REST webservice using JAVA, but I need to make a client in Delphi consume this webservice, I tried to make several video lessons I found by google, but none was useful to me. I created a…
-
0
votes1
answer174
viewsI cannot register data using JAVA Rest webservice
When registering data in my database using webservice the following error occurs. Sending 'POST' request to URL : http://localhost:8080/FazendaWS/webresources/fazenda/Usuario/inserir Post parameters…
-
0
votes1
answer224
viewsCustomise DB Grid with web service data
I am creating a simple system to test the operation of Delphi with Webservice REST, the first test is a database search that in this case is working all right, only that when the data is loaded in…
-
0
votes1
answer128
viewsChange a record with a REST Webservice
I am trying to change the registration of my bank through a web service in java Rest, the tests in the webservice worked, but in the client I am having problem to work. Note: Using Delphi…
-
0
votes1
answer155
viewsGET instead of DELETE in the REST webservice
I’m trying to delete my bank using a webservice rest(JAVA), he carries everything neat, but time I send the test he Method not allowed. Note: I am using Netbeans. From what I understand the WS is…
-
0
votes1
answer46
viewsHow to use several sites in Ubuntu Dedicated Server?
Hello, my friends! Context: I have a dedicated server to host web applications. The root directory of it is default/var/www/html of any server. I want to host, first, a website. In the root folder…
-
0
votes1
answer102
viewsweb api, how to do this login correctly?
I am developing an application that is a short version of a web system, this system was developed in PHP. For the application, I am developing in Xamarin Forms, however via web api I am trying to…
-
0
votes1
answer850
viewsReceive and send value with Nodejs
How to receive inputs with nodejs and send a value to a given page element? Example: const fs = require('fs'); const http = require("http"); http.createServer((req, res)=>{…
-
0
votes0
answers38
viewsProblems with Rest Java swing consumption?
I have a java swing application where I get a list of data from a webservice. When I run this by netbeans it does it right, now when I jar to send it to the client, the application just doesn’t make…
-
0
votes0
answers304
viewsJasper report only works in the local application, does not work on the Web Server
My print report is only working in the local application, using Hibernate connection, when I try to run on the server does not work due to lack of connection to the database, how can I use a…
-
0
votes1
answer72
viewsAsynctask result
I rephrased the question again to try to clarify better the need of my situation: I need to run between asa Activity s the following operation, when clicking the button, the application sends…
-
0
votes1
answer413
viewsContent Not Allowed in Prolog, even though XML is perfectly formatted
So, I’ve been trying to send an XML to a Southern Sapucaia Webservice, RS. XML requests the printing of a PNG-shaped Nfse. The problem is that XML is sent and as a return I receive a message stating…
-
0
votes1
answer30
viewsSpinner Json and Arraylist
I’m starting on Android development and I’m having a tense doubt here. I have to return a Json like this: [ { "codTransportadora":295, "NomeTransportadora":"UTILISSIMO", "codEmpresa":3122 }, {…
-
0
votes1
answer416
viewsError while consuming webservice in c#
I am making a web service in c# , to consume its data via javascript (without being an application made in Asp.net or any technology . NET ,I want to use html and javascript only). My web service…
-
0
votes0
answers135
viewsHow to consume this soapclient webservice in php?
How to consume this soapclient webservice in php ??? tried the code below and gave the following error. Code $client = new SoapClient('http://www.smsviaweb.com.br/SMSVIAWEB.asmx?wsdl'); $params =…
-
0
votes1
answer462
viewsRetrofit: Could not locate Responsebody converter for
I’m working on a system and I need Retrofit2 (with Spring Boot) but I’m not getting. Follow the source and error. @JsonIgnoreProperties({"codibge", "codestado"}) public class CEP { private String…
-
0
votes0
answers25
viewsError while modelling XSD
From this XML code, I have the XSD block: Code <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema"…
-
0
votes2
answers8087
viewsConsuming API with javascript/jquery
I have to consume an IBGE javascript/jquery api Click here, but I don’t know how to make the filled input data join with the link https://servicodados.ibge.gov.br/api/v1/pesquisas/{researches}. Down…
-
0
votes0
answers96
viewsAccess type webservice methods with php
I have a wsdl that returns to me all the information necessary for consumption. It is a corporate system and I need to access the part related to searching for a flight itinerary, to fill a search…
-
0
votes0
answers348
viewsConsume Webservice Nfe GO C# Error 495 Unknown Code
I am getting the following error while trying to consume Nfe GO Webservice Error 90 - Nfestatusservico. The remote server returned an unexpected response: (495) Unknown Code as I am creating a dll I…
-
0
votes1
answer350
viewsDoes not work the "Soapwrapper" with Laravel
I am trying to consume a WS through application in Aravel 5.6. That’s the test code: namespace App\Http\Controllers; use SoapClient; use Artisaninweb\SoapWrapper\Facades\SoapWrapper; use…
-
0
votes1
answer345
viewsAuthentication error in WSDL
using the phptester to test the following code: <?phptry { $opts = array( 'http' => array( 'user_agent' => 'PHPSoapClient' ) ); $context = stream_context_create($opts); $wsdlUrl =…
-
0
votes1
answer945
viewsjava.lang.Nullpointerexception error when sending data to a web service
I have a webservice where I’m sending some data. The return of the service is returning me this message below, in the integration manual, says it would be an internal error, wanted to understand if…
-
0
votes1
answer226
viewsExample of Python service from Post method
Any example of a Python Post method service? I don’t know how to do this with the database connection. I know how to do Get and I’ll leave an example below. @route('/dadosBloqueios', method = "GET")…