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
-
5
votes1
answer11223
viewsBlocked cross-origin request
I am using an Elsevier API to fetch a book listing. To do this, I am using an example of them present at this link: http://apihtmlgen.elasticbeanstalk.com/sd_search.html I made my registration, I…
-
5
votes1
answer3559
viewsWebservice REST Simple
How to create a simple REST-type Webservice that does HTTP communication from an Android device with the server, using the PHP language? My goal is to make Requests and receive as a result Response…
-
5
votes1
answer1203
viewsWhat is the best method to log in to android and webservice php Restful?
I am building an application that needs login, I have already created the webservice in php using Slim. I am currently using a POST, passing a json with email and password for the webservice to…
-
5
votes3
answers302
viewsAccess web images application
I am beginner in android app development; I have the following question: if I want to make an application where the images used are not within the project, but on the web, what is the best way to…
-
5
votes2
answers1319
viewsError generating files/classes from a Netbeans Web Service
I am trying to generate files/class from a Web Service and bring it to my Java project. For this I am using Netbeans IDE 8.0.2 At first I’m getting the message "Uma classe/interface com o mesmo nome…
-
5
votes1
answer2187
viewsRemote REST webservice in PHP receiving JSON via POST with problems
I have the following situation... A purely javascript client application that runs with Node.js, where you post a JSON, as follows: doLoad = function (livrosList){ var xmlhttp = new…
-
5
votes1
answer666
viewsSend xmlns:xsi and xmlns:xsd namespace in the webservice Soap response
I have a webservice developed in java working perfectly, only that I need to send the namespace xmlns:xsi and xmlns:xsd as shown in the example below: <soap:Envelope…
-
5
votes1
answer446
viewsMonitoring Mysql database c/ Java application
I have a Java desktop c/DB Mysql application running in 100 company branches for more than 6 years. Today at headquarters we need some information from the branch database. I am developing a web…
-
5
votes1
answer765
viewsWhat is the difference between Web Service and Application Service?
Searching on the Web Service, I asked on a topic on the subject, as link below: Question: What is a Web Service? However, a question was raised about the distinction of Web Service and Application…
-
5
votes2
answers3274
viewsC# - XML return from Webservice with encoding error (ISO-8859-1)
I have a Windows Forms application that is consuming a Webservice that returns an xml (string) enconding with ISO-8859-1. However, the answer comes with question characters (?) instead of accents.…
-
5
votes1
answer1057
viewsHow to get the result of the Retrofit 2.0 Request
Well, I’m starting to study Android, I’ve already requested with Volley but a friend indicated me Retrofit for being much faster and "simple". But I still don’t understand much. I have a Webservice…
-
5
votes1
answer1161
viewsRails and Webmotors
someone with some experience with Rails integration with the Webmotors Api? I am using Gem SAVON to integrate the application with the site API and am getting the error: Savon::Soapfault:…
-
5
votes2
answers4277
viewsapplicationx-www-form-urlencoded with Httpwebrequest
I’m making a system to authenticate the Token (derived from the credit card) next to Cielo. This token has special characters like + Cielo receives the data via XML. I made the following code to…
-
5
votes1
answer98
viewsQuestions to implement a web service
I have a question about the implementation of a web service, look at the logic: I have a process that searches the data of several users in a system (system A), and I want to take this data and send…
-
5
votes1
answer1366
viewsHow to create webservice using PHP and REST?
I have been researching a lot about webservices lately and would like your help to know how I can build a webservice using REST and PHP. I chose PHP because I am more familiar with the language, and…
-
4
votes2
answers625
viewsWeb Api 2 - Routing not working
I created a web service REST using Web Api 2, and in development everything is functional. I am using a small variation of the default route: config.Routes.MapHttpRoute( name: "DefaultApi",…
-
4
votes3
answers986
viewsWCF consuming external Java Webservice with HTTPS and proxy
I have a WCF service that consumes a web service (developed in Java) where I need to connect with HTTPS using a certificate. So far everything works well, however, in production environment my…
-
4
votes1
answer123
viewsHow should I communicate with DB? Technology recommendations
I’m with an Android project, in which I’m trying to do everything using free platform. I need the devices in the field to communicate with the database, and I heard something about JSON and Web…
-
4
votes1
answer9073
viewsSend and receive image via Webservice
I’m developing an app where I need to convert an image to JSON and send it to a Webservice. Later I will need to perform the reverse path, IE, receive a JSON image of a Webservice to present it to…
-
4
votes1
answer1415
viewsSecure authentication with REST in PHP
I’m having doubts about how to work with restful system authentication. My case will be user/password and permissions/hierarchies for the user, and until then as most interesting solution found in…
-
4
votes1
answer352
viewsHow to access PHP webservice securely from an Objective-C/iOS app?
I’m making an application where I need to securely send user data to the Web Service using PHP. For this, I’m researching security for iOS. What is the recommended method and what are the points I…
-
4
votes1
answer1933
viewsAccessing Webservice by Android - KSOAP2
I am creating an Android APP and have to connect with the web service of my company to make the login system, I am using the lib KSOAP2 3.3.0. The path of my WS is for example as:…
-
4
votes3
answers1850
viewsHow to test the Service layer in a web service application, using mockite and junit
I have a class of services that will receive a dependency injection from an object responsible for the persistence layer. In this service class are all my methods that will answer the web service’s…
-
4
votes1
answer1812
viewsHow to consume an "asmx" Webservice via Jquery Ajax
I created a button that calls the search method Ajax to consume a Web Service Asxm. Because the Ajax does not consume the Web Service? <asp:Button ID="btnPesquisar" runat="server"…
-
4
votes1
answer1297
viewsHow to put a web service in a hosting?
I have an Android project that uses a Web Service, but I have to reset all that use or do tests, activate it in Tomcat through the eclipse and sometimes when I test on different networks, I have to…
-
4
votes1
answer723
viewsjson_encode - Invalid JSON
I created a PHP code to fetch information from a database (Mysql) and "transform" into JSON. I used the json_encode for such. The output JSON seemed to be correct, but when I use some JSON…
-
4
votes4
answers2981
viewsSQL Query Joining 5 tables
I need help to do a query (multiple relationships) on my Webservice + Mysql to return the result on my Android app. I have these respective tables: Query I need to query a person(tb_suspect), with…
-
4
votes1
answer1217
viewsWhat problems can occur when using the "http://tempuri.org/" namespace on our webservices?
When creating a webservice, in my case using ASP.NET, I always change the default namespace to something related to my project, usually using the website URL for this. But lately I have had the need…
asp.net web-service soap namespace xml-namespacesasked 10 years, 4 months ago Guilherme de Jesus Santos 6,566 -
4
votes1
answer61
viewsRun a method when Webservice is Started
I have a Webservice that’s working normally. At this point arose the need to execute a method called "Recuperaraposfalha" that needs to be executed as soon as the Webservice is started. This is a…
-
4
votes1
answer5523
viewsProblems returning a large amount of data through WCF
Good Afternoon, I have a web service done in WCF, when I do a query in the bank and return a large amount of records it gives me the following error: An unhandled Exception of type…
-
4
votes1
answer121
viewsHow to create an Event on a Webservice
I have a Webservice that has a method that records a new entry record and updates the list that contains those entries. Now I need the customer to sign up for a Webservice event so that whenever a…
-
4
votes1
answer224
viewsKeep connection open in php webservice
I am building a simple webservice and PHP + JSON where I have 2 tables and I intend to perform CRUD operations. It is possible that the webservice is in the medium term consumed by many devices at…
-
4
votes1
answer476
viewsREST - Http x Json
I did some research and have some questions about REST: Http is Rest? JSON and XML are only the return format of a Rest operation? REST x Web Services: are the same things? SOAP would be the…
-
4
votes3
answers314
viewsCross-Domain Application Security Questions
I have a question about the security of cross-Domain applications... The following is in case I have a hybrid APP that will run on a smartphone and will make requests ajax cross-domain to an api (in…
-
4
votes2
answers2985
viewsConsume Moodle Web Service
I am trying to consume the webservice of Moodle, following a js/Rest example I found on github, I created a test.php with the code below (changing the domainname and token) but when I call the page…
-
4
votes1
answer763
viewsHow to return the converted image to Base64 in Postman
I have a Web Service REST Server, need to traffic a web service image to the client, when the client requests a particular image, the web service does the conversion to base64 and send it to the…
-
4
votes1
answer49
viewsHow do I use parse() in javascript?
I have the following implementation: minhaDataRetornada = "Dez 20, 2016"; minhaDataTratada = Date.parse(minhaDataRetornada); console.log(minhaDataTratada); Running the above code, my return is :Nan.…
-
4
votes1
answer1090
viewsReturn of webservice in XML - php
I’m trying to consume a Totvs webservice. My PHP code: // SOAP client $wsdl = 'http://localhost/TOTVSBusinessConnect/wsDataServer.asmx?wsdl'; $endpoint = array ( 'location' =>…
-
4
votes1
answer1474
viewsHow to persist a record in the database through Java restful webservice?
I already have a method that takes a json and persists in the Mysql database. I can test it by the interface created by Netbeans, which has a field for inserting a json, but how do I make an http…
java web-service java-ee netbeans restfulasked 9 years, 7 months ago Marco Aurélio Soares de Souza 125 -
4
votes1
answer2968
viewsSantander Boleto Registered via XML
I’m trying to migrate the system to the registered tickets of Santander. I finally got today to send me the manual 2017. 1 - When I try to access the link to generate ticket it warns "403 Forbidden"…
-
4
votes2
answers958
viewsTake a line ID that has just been created in PHP
Hey, guys, let’s go So I’m having a problem which is this, I have a table players, a table workouts and an auxiliary table playfulness (where I’ll see if any players are training at the moment) The…
-
4
votes1
answer5292
viewsHow to make an HTTP GET request for a web service with Arduino
With a request via GET to a web service with Arduino, using the following URL and passing a parameter http://192.168. 0.1:8080/automation/Sensor? value=###, where ### is variable and is updated…
-
4
votes1
answer6891
viewsWebservice/api consult court proceedings
Good morning, everyone! Do you know any webservice/api where it is possible to carry out the consultation of judicial processes in all or in some courts of justice of Brazil? On the website of the…
-
4
votes1
answer469
viewsHow to extract only different values from an array?
I’m extracting from a array city names. I want to extract cities with different names. In the current case, my script returns several identical city names. I want to recover only once each city…
-
4
votes1
answer845
viewsSIGEP WSDL problem
I am at a time with a project of the post office, I had to make a connection with the webservice SIGEP WEB, I found something already in development in, I was using the same and everything OK, from…
-
4
votes1
answer1058
viewsAccent problem while consuming Webservice on Windows Server
Correction I have an accentuation problem when consuming Webservice on Windows Server. I have apache-Tomcat-7.0.63 installed on windows server 2008, and as SGB, Postgres 9.4 and with Java 8. The…
-
4
votes1
answer1524
viewsWhat is the Expect100continue property for in System.Net.Servicepointmanager?
I am working on a system that manages customer licenses. There is a feature in my system to return the customer’s product key , making a query on Web Service. And simple you inform the CNPJ it…
-
4
votes0
answers853
viewsPost Office - PLP XML
In the Postal web service there is a process of sending plp (pre-mailing list), which contains information of the postal objects. I’m sending this plp by the method fechaPlpVariosServicos. But when…
-
4
votes1
answer730
viewsConsuming Java Web Service
I’m a beginner in C#, my Visual Studio is 2010, my version of Windows Phone is 7. I searched the internet and this version of the "async" command only works from Visual Studio 12 to top. Is there…
-
4
votes1
answer435
viewsPOST Spring Data REST does not work with relationships
I’m with a project using Spring Boot and Spring Data Rest to serve a Rest API. When I’m serving an entity without relationships, it works smoothly. The problem is when I use an entity with…