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
-
1
votes0
answers834
viewsLogin Webservice PHP + SOAP + CURL + XML + certificate
Good afternoon, I have the following code trying to access the ISS webservice of the city of Curitiba: <?php $xml_data = '<?xml version="1.0" encoding="utf-8"?> <soap:Envelope…
-
1
votes0
answers179
viewsWhere to store private key generated in Webservice?
I have the following scenario: (and unfortunately I can’t change anything in the infrastructure, but I can change anything in relation to the code of the Application and the Webservice) An intranet…
-
1
votes0
answers90
viewsconsume the webservice in WCF with ajax
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <form id="form1"> <div class="jumbotron"> <input type="text"…
-
1
votes1
answer300
viewsHow to feed SELECT with Webservice SOAP in PHP?
I have to list one in a SELECT (html) products of a company using a webservice. Some example code ? Client code: <?php //cliente //inclusao do arquivo NUSOAP require_once('lib/nusoap.php');…
-
1
votes1
answer406
viewsLong running period web service
I am creating a webservice that makes consult in a DW these queries for having functions of aggregations and everything else take a little more time than normal (something around 2 - 5 minutes),…
-
1
votes0
answers27
viewsNOT FOUND in the webservice paths
I have a big problem with my webservice. I created CRUD and it worked normally, but new paths with path are not working, I don’t know if when I exported the project when crud was running .war. I…
-
1
votes0
answers260
viewsRun the webservice via CMD returns NULL
I have the code below that I need to run every hour. This script running by the browser returns the data correctly. Intended to run it via scheduled tasks, by CMD through execution lines:…
-
1
votes0
answers577
viewsQuery nfe in Java
I want to make a form with the access key field and the code captcha to be filled in. This data will soon be sent to the NFE portal and will return the NFE information to me. The captcha I’ve…
-
1
votes3
answers4669
viewsConsuming Web Service with Login and Password
I received these guidelines to access and consume the list methodProducts of a Webservice: Standard form of authentication of Java application webservices for entities and associates The client must…
-
1
votes2
answers2038
viewsWork with JSON for request and Java Sponse
I need to consume a WS with Rest that is already almost complete, only 2 things to finish: - mount the request JSON and manipulate the Response JSON. Here’s an example of the template I need to…
-
1
votes1
answer623
viewsSystem.Nullreferenceexception: Undefined object reference for an instance of an object
I am developing a project in Asp.net, where I am trying to carry out this insertion in the bank. However when I try to perform this command, I end up stating this error message:…
-
1
votes0
answers304
viewsWeb service access with SOAP Headers and Node.js
I am trying to access a webservice using Node.js (with module Node-Soap) and that first I need to login and then in the calls of other methods it is necessary to send the received Header on login. I…
-
1
votes0
answers148
viewsJava/Postgresql - Function does not return values
I am creating a webservice where I will return the values of my postgresql table. However, when I run this function, a blank screen appears as if there were no data to be returned. I purposely…
-
1
votes3
answers2363
viewsEnable 'Access-Control-Allow-Origin' in jQuery [xml]
I don’t have access to .htaccess server and need to enable Cors on jQuery The code to access Webservice is: $(document).ready(function(){ jQuery.support.cors = true; $.ajax({ url:…
-
1
votes1
answer614
viewsError while sending Nfe
I’m trying to send Nfe using the SEFAZ RS webservice, but this generating some errors when I call the method nfeAutorizacaoLote. It seems that the error is in the configuration of the webservice.…
-
1
votes1
answer59
viewsSearching parameter by editText
I’m having trouble fetching some data from a specific parameter, in my android app, in the webservice I already search and using GET with the data I want it brings me the data, but I need that when…
-
1
votes0
answers294
viewsWeb Service Soap Server - WSDL - Java Eclipse
I know that there is already a lot of blog post related to web service in java and also know that there have been many questions with this problem. But I tried every way and I couldn’t fix it, so…
-
1
votes2
answers369
viewsPassing parameter to another Activity with sharedPreference
I have a code where I will access a webservice that will be changing the ip weekly, I created a sharedpreference for the user to save the new ip and when saving my Activity would pull this IP saved…
android web-service checkbox edittext sharedpreferencesasked 7 years, 2 months ago Renato Crispim 45 -
1
votes2
answers4766
viewsRegistration of boletos Caixa Webservice SOAP WSDL PHP
Friends, I never worked with WS, but now, as a result of the new changes, I need to register slips that I use on a website. I received a document from CEF but so far I could not make it work. Follow…
-
1
votes0
answers60
viewsMultiple calls to the webservice
I would like to know the best way to make N calls to the same Webservice. Ex.: In a search system / hotel quotation, as a strategy, we use N calls for a specific quote because in each call is sent a…
-
1
votes1
answer181
viewsSend json to webservice and return status
Guys I’m doing a course of Caelum 36 but I stopped at some point I need to do this: curl -i -H "Content-type: application/json" -X POST -d '{"valor":"39.9","titular":"Fulano"}'…
-
1
votes1
answer419
viewsHaversine formula for SQL SERVER
Guys, I have an Android app that uses Google Maps API. On the map, I get data from an SQL Server database. I need to create a KM radius where I only upload the database data that’s inside this…
java android sql-server web-service google-mapsasked 7 years, 2 months ago Gabriel Moreira Carvalho da Lu 13 -
1
votes1
answer479
viewsHow to publish a Webservice using Visual Studio C#?
I’m trying to publish a Webservice with Visual Studio but the connection is failing. Someone can help me connect on this project? Here’s the error message from when I try to publish: Publishing…
-
1
votes1
answer112
viewsPassing array list by parameter
I have the following problem: I need to pass some files (xmls and pdf) from my winforms application to a webservice. The problem is that it is not possible to pass via parameters to a WS data type…
-
1
votes2
answers201
viewsJson created incomplete
Next people had a loop problem in my project when creating Json the application looped. I was able to solve the loop problem with the @Jsonmanagedreference, @Jsonbackreference annotation. However,…
-
1
votes1
answer314
viewsHTTP connection to server does not return JSON data
Hello, I am trying to get the data of a query via HTTP, but it is returning me this error: org.json.JSONException: End of input at character 0 of The Code I have is this: private class AsyncFetch…
-
1
votes0
answers658
viewsDelphi 7 - Inform A3 Certificate at Indy HTTP
Hello, I am trying and unsuccessfully so far to perform the integration with a web service, where I use the Indy HTTP component, updated to version 10 in Delphi 7 to access and make a GET using XML…
-
1
votes1
answer45
viewsWebservice PHP does not work!
I’m developing a system that will use a webservice in PHP and the structure that will be called to run this webservice is the following: <?php header("Content-Type: application/json;…
-
1
votes1
answer6168
viewsError in Webservices Json C# "Unexpected Character encountered while Parsing value: <. Path '', line 0, position 0."
Hello, I’m getting an error in the execution of my code, in another application the same code works, I’ve changed the using, but it doesn’t work. public String CriaPeca(String token, String ip,…
-
1
votes1
answer114
viewsError trying to insert data into Mysql database
I’m trying to input a promotion into the database Mysql through a Web Service REST in Java, but when trying to insert me returns the following error: Grave: ERRO ao Inserir Promocao -…
-
1
votes2
answers124
viewsPHP Web Service with INNER JOIN
I am creating API for consumption in Ionic applications, but I’ve been working for 2 weeks on one of these api’s, where I link data in more than one table with Inner Join. I tried to do as in my php…
-
1
votes0
answers833
viewsError consuming JSON: "json Parsing error value <!doctype of type java.lang.string cannot be converted to jsonobject"
I’m trying to consume a JSON in my application. I created a Splashscreen and in it I am trying to download the data from the file JSON and send to my Masteractivity, where, then, I’m going to build…
-
1
votes1
answer660
viewsWeb Service consumption in SOAP standard with XML sending as parameter in PHP
I am developing an application of integration between the city of my city and a system for a company, to optimize the generation of NFS-e. It consists of using the city’s Web Service to send, using…
-
1
votes1
answer2343
viewsWeb service registered ticket Santander
I’m implementing Santander’s Boleto Registration Method via web service with PHP for a client. Digital certificate has already been acquired and installed on the client’s system server and also…
-
1
votes1
answer544
viewsBasic Authentication in Webservice Rest C#
good afternoon!! I’m implementing a Webservice Rest but I’m not able to call the Basicauthentication method another class. [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json,…
-
1
votes0
answers111
viewsConsumption webservice with error: Unsupported content type
My first question is: I can call the Webservice directly via JQUERY / AJAX or I need to have something in PHP or some other back-end language to accomplish integration? If possible only with JQUERY…
-
1
votes1
answer1545
viewsError sending information to Webservice: System.ServiceModel.Security.Messagesecurityexception
I created a simple web service that sums up two numbers and returns the result. O IIS left configured as windows authentication enabled and the other disabled. Code:…
-
1
votes1
answer593
viewsCURL PHP request for a WEB Service
Good morning to you all. Guys, I’m having a problem communicating with the web service of a third-party company here where I work. Explaining above, I need to send a report of transactions with…
-
1
votes1
answer499
viewsError saving JPEG image in database as string (Base64)
I’m developing an app that has a form where the user can attach a photo to the form. However I am having difficulty implementing this. In my APK I already capture the image, convert to base 64 and…
-
1
votes0
answers490
viewsList data from an API on android
Hello, I’m trying to list data from a web API, as I’ve never listed this way I’m finding problems to understand the solution of the listing, the API Url returns some values I want to list them in…
-
1
votes1
answer76
viewsWhat dependencies do I need on Gradle?
What are the necessary dependencies for the following libraries? import java.io.StringReader; import java.net.Authenticator; import java.net.PasswordAuthentication; import java.util.ArrayList;…
-
1
votes1
answer576
viewsError 404 apache Tomcat
I am new to web services, however lately I have taken to develop mine, however I can’t even do a hello world due to an error that Tomcat is returning me, it just doesn’t find the URL, can help me?…
-
1
votes0
answers131
viewsRetrieve information from Webservice
I have to send an Access Token to the webservice, this token should be sent in an XML, like this: POST /webslaptime_deploy/websLapTime.asmx HTTP/1.1 Host: 187.17.175.49 Content-Type: text/xml;…
-
1
votes0
answers634
viewsConsume PHP Web Service
I’m trying to consume a Web Service and I’m not getting the expected results. Apparently the mistake I could understand is in the structure as I’m going through the Vector of arguments to call the…
-
1
votes0
answers26
viewsValidation with Phonegap and Webservice
I am validating the login and password fields via Web Services, it returns me if the login is valid and generates a cookie number (done via sql), so far okay ,I can perform normal validation but I…
-
1
votes1
answer535
viewsGrab object inside JSON string
I receive the following JSON from a web service / `{ “SinteseCadastral”: { “Documento”: “99999999999”, “Nome”: “NOM DE TESTES”, “NomeMae”: “NOME DA MAE DE TESTE”, “NomeFantasia”: “NOME FANTASIA DE…
-
1
votes2
answers391
viewsconsumptionwebservice Rest returns: No 'Access-Control-Allow-Origin'
Prazados, I have a problem to consume a third party Webservice, when trying to find the same by java script the return I receive is: Xmlhttprequest cannot load…
-
1
votes1
answer1837
viewsConsume webservice Soap with PHP (xml with attributes)
I need to consume a wsdl but the XML for sending to the webservice server has attributes. I created an array containing all tags, but I was wondering how to add the attributes of each tag. XML to be…
-
1
votes1
answer490
viewsHow to check JWT on each request
I’m doing a login system on php and trying to authorize with JWT. I’m not using any library, I made a class called Jwt that I pass the vestments and Token and also step the token and returns me an…
-
1
votes1
answer40
viewsError debugging webservice (asmx) locally in Visual Studio
I’m trying to locally debug a webservice (asmx) from Visual Studio. When trying to create the connection to the database, the following exception occurs: Failure to request type permission…