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
answers136
viewsFixed - Problem with a Web Api calling another Web Api
I am beginner developing for web environment and I am with a very bizarre problem, so the text should stay long to try to explain it. I have the following scenario: A front end made in Angular that…
-
1
votes0
answers297
viewsHow to find out which services are running on a python port?
I would like to add my question to that code: #!/usr/bin python3 # coding: utf-8 import argparse import socket import os import sys def Logo(): print (''' ______ ____ __________ ___ / / /_ \/ /__…
-
1
votes3
answers1897
viewsProblem consuming Datasus webservice in PHP
Follows the code: <?php $client = new SoapClient('https://servicoshm.saude.gov.br/cadsus/CadsusService/v5r0?wsdl'); $function = "Pesquisar"; $arguments = array("Pesquisar" => array(…
-
1
votes1
answer545
viewsAndroid app does not connect on local webservice
I’m studying webservices but came across a problem, The API works because I can already enter data into the database, I’m using wamp, but in the app, I followed several steps and just don’t send,…
-
1
votes0
answers431
viewsCreate function that receives an XML in the SOAP Server (Delphi)
Good morning. Reading several files, tutorials, etc on the net, I managed to understand and develop a SOAP server (Delphi 7 and Tokyo). I created several functions to receive values and return…
-
1
votes1
answer1432
viewsBasic Auth to authenticate webservice Soap - PHP
I am having a problem with authentication when I try to consume a web service Soap. When entering the url in the browser, a dailog is shown asking for user and password. However, I need to do this…
-
1
votes0
answers1535
viewsHow to consume a java SOAP Web Service that requires User and Password?
I am trying to consume a SOAP web service using Netbeans IDE (JAVA), but when I try to delete a list it returns null to me. Talking to a colleague, he told me that it is for lack the user and…
-
1
votes0
answers34
viewsNot returning returning the json
Good I’m starting in the android area and still do not know much about it and would like help with the following code: gridView = (GridView) findViewById(R.id.lastedAnimeView);…
-
1
votes0
answers115
viewsSigning an xml with digital certificate
I’m trying to sign an xml file from an NFS-e. These are the functions that I’ve been assigned: public static MemoryStream stringToStream(string dados) { MemoryStream memoryStream; try { byte[]…
-
1
votes0
answers216
viewsHow to send PDF to Webservice - Asp . NET
I am having trouble sending a PDF to a Web Service. In case, the documentation is this way: then I made the following code: private async void EnviarDocumentoWhats(string pdf) { using (var client =…
-
1
votes1
answer68
viewsAndroid + Volley + PHP Connector Does not insert data into SQL Server database
I’m trying to input data from an Android application into the SQL Server database, and I’m using Volley and PHP Nector. The connection is ok, and searches usually appear on the device screen. I need…
-
1
votes0
answers23
viewsReturn a price list in a VB web service
I have this method within a service(asmx) <WebMethod()> Public Function RetornarPrecoCSP(ByVal CodigoCliente As Long, ByVal CodigoProduto As String, ByVal QtdItem As Long, ByVal TipoVenda As…
-
1
votes1
answer597
viewsProblem CORS Angular + Protheus
I’ve looked in some places and I can’t find anything about it, I’d like to know if anyone’s been through it and can help me. I am trying to make a REST request through an Angular application running…
-
1
votes0
answers64
viewsWhat is the best way to create a socket with multiple connections that will perform an action in another API
I am creating a webservice with PHP, to receive TCP connections, so I opened a socket that receives multiple connections. But when a device connects to the server I will have to search another third…
-
1
votes1
answer33
viewsStack-overflow Exception in Servicehost object
I have a simple implementation of webservice. After years of software in use, began to burst exception on the object Servicehost. try { using (this._host = new ServiceHost(_receiver, new…
-
1
votes1
answer241
viewsWhere to place the @Produces and @Consumes annotation? In the method or class?
I have been studying the operation of REST Apis in Java and came across two different didactics. In one of them the teacher placed the notes in the definition of the class, this way:…
-
1
votes0
answers435
viewsWebservice PHP WSDL XML
Hello, I’m developing a PHP system where I manage my court cases. I would like to receive the process movements automatically, so I saw that there is a Webservice to facilitate this functionality.…
-
1
votes1
answer347
viewseSocialBX: Error 402 - "Invalid request"
I’m trying to consume the web service Query to Event Identifiers, but I get this return: <?xml version="1.0"?> <eSocial…
-
1
votes0
answers48
viewsHttpwebrequest error
I’m using this code below to send a xml to the webservice from city hall, the maximum RPS you send is 40. What happens is that I already sent with 40 and did not get problems earlier. It is…
-
1
votes2
answers340
viewsHow to communicate with SOAP webservice
I am trying to communicate with a SOAP Webservice. I was able to communicate using SOAPUI as image: I am developing this communication in c# as follows: try { var service = new…
-
1
votes0
answers150
viewsProblem consumption Webservice NFS-e
I am having several problems in the consumption of the webservice of Joinville, SC. Homologation: https://nfemwshomologacao.joinville.sc.gov.br/NotaFiscal/Servicos.asmx?wsdl Production:…
-
1
votes0
answers141
viewsInterface and heritage in Xamarin - System.Invalidcastexception: Specified cast is not Valid
Greetings! I’m developing a Cross Platform project in Xamarin. This project consists of consuming a web-service method that will return the script code and an address array that corresponds to the…
-
0
votes1
answer106
viewsIs it bad practice to return Viewmodel from a Webservice?
It is a bad practice to use the same class that is used as Viewmodel, that a Action passes to the View, to return data from a Webservice? (like those methods marked with [WebMethod]) I imagine not,…
-
0
votes2
answers3301
viewsHow to "capture" Webservice (XML) data in Java SE?
I am a layman in the subject webservice and need to capture the data of a webservice that returns some little information. The webservice is this:…
-
0
votes2
answers186
viewsWeb service, play dice in empty field bd error
My 3° foreach is creating 2 arrays with null values, I wanted to understand why, so I am not able to enter in the database giving a var_dump($product) it shows me the right results, the 3 products I…
-
0
votes1
answer110
viewsWhen I run my WCF REST enters the WCF Client Test screen
When I run my WCF REST enters the screen of WCF Client Test. Before it was working. Because this is happening, IE, because enters the screen WCF Client Test?
-
0
votes1
answer948
viewsReturn only filled fields in the web service
I made a REST with WCF. In a method it returns me an object. It turns out that I don’t fill in all the fields of that object and it shows them all in the reply xml. How do I show only the fields…
-
0
votes2
answers608
viewsValue when null does not show the value in xml
I did that: if (lis.DT_TransacaoV == null) pdv.Transacao = "Não Recebido"; else pdv.Transacao = "Recebido"; I have in the object PDV a property called Transacao string type. If it is different from…
-
0
votes1
answer295
viewsDoubt on how to post a method to a web service, hide
What I’m going to ask I don’t know if it’s possible or how to do it. Well, I have a REST that so far is ok. There, they changed a rule here that directly affects the REST API. I have a method that…
-
0
votes1
answer1749
viewsWebservice REST POST error request
When making the request for POST is returned me this error message: O servidor remoto devolveu um erro: (400) Pedido incorrecto. Iservice finds - if closed this way: [WebInvoke(Method = "POST",…
-
0
votes1
answer672
viewsHow to understand and start a Rest or Soap service
I still can’t look at a web service and tell if it’s REST or SOAP. The question is: When using one or the other How to differentiate when viewing the code if it is REST or SOAP Performance between…
web-serviceasked 10 years, 7 months ago pnet 14,727 -
0
votes2
answers3488
viewsCustomer Facilities, WCF or Web API?
I need to create a web service for data insertion in a database that requires validation to ensure data integrity. I have as a requirement, to facilitate the use of my "clients". Therefore, I must…
-
0
votes1
answer480
viewsNUSOAP - WSDL STYLE DOCUMENT/LITERAL
Currently I have 2 webservices running in hospitals that work perfectly with STYLE RPC/ENCODED but we will implement in a software for a factory and there they have problem to consume this type of…
-
0
votes2
answers227
viewsSplash screen while receiving web service data
Hello! I have a following problem: I need a splash screen that stays on the screen while the app receives the data from the web service to popular a BD sqlite on iPhone. I tried to use the Xcode…
-
0
votes1
answer139
viewsInterface does not recognize class type even with declared DLL
I created a Class Library project and in it a POCO class. I created an Interface (all following John Sharp’s book). Then I created my WS with WCF. Well, in the interface I declared a method of my…
-
0
votes2
answers623
viewsDoubt on how to select a record via Inq
I have a chart, where I only record scripts. There is a field, where I separate whether it is technical script or central script. There is a field TipoScript char e is "C" or "T". This table was not…
-
0
votes1
answer519
viewsWeb-service without fixed IP
I’m studying to create an Android app to consume a webservice, for example an app on Android and one on a micro which reads information sent by the Android app. Is there any solution to this…
-
0
votes1
answer556
viewsHow to Test Web Service on Ruby on Rails
I’m having the following doubt, I’m making a web-service server with my application ruby-on-Rails, I’m using the gem wash-out, I understood how it works and I was able to put my web-service to run,…
-
0
votes1
answer742
viewsHTML/Javascript Connection Webservice C#
I’m trying to make a connection to the bank using web service. I even set up an example where I created the functions sum and multiply in my Webservice, but I’m having difficulty connecting my…
-
0
votes1
answer368
viewsError while consuming a web service Rest method
I created a method where my partner, besides receiving data from our base, also sends us. Well, this was working well. Then I discovered that a field was missing. I added this field to the interface…
-
0
votes1
answer955
viewsSynchronize databases via Webservice C# Asp
I have databases on the server and on the client and would like the changes made in one to be sent to the other via a Webservice. For example, a new row is added to a table on the server, then this…
-
0
votes1
answer181
viewsWhat’s the best way to store images in an iOS app?
I’m working on an app, and I’ve read several websites and articles about how to store images in Core Data or the app directory. But I wondered what was the best way. I would like to know, what would…
-
0
votes1
answer69
viewsWhich server to upload and download files?
I’m finishing a site to upload and download music files, and I don’t know much about servers, and I would like the opinion of someone who understands the process, and if you have an article on the…
-
0
votes1
answer1885
viewsWebservice almost 100% (Rest/json)
I have a problem that I can not solve T_T, after many searches I created a web service (test), to be consumed by an android application. The only function of it is to return a String, but I don’t…
-
0
votes2
answers106
viewsDownload data in String format and JPG images
I am implementing a project, which has a Web Service. In this Web Service are saved product data, containing the fields: Name, Value, Description and Product Image. I did some tests downloading only…
-
0
votes0
answers57
viewsAdding a Webservice
How to add a Webservice reference where the properties of the Metadata have been disabled! Ex: Webservice server: http://192.135.025.22/authentication.svc But Visual Studio 2012 says it was not…
-
0
votes2
answers780
viewsError while consuming ASMX Web Service
That is the mistake: An exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.ni.dll but was not handled in user code Additional information: The remote…
-
0
votes1
answer97
viewsURL_STRING does not fill correctametne
I have a problem in the consumer class of my Webservice Rest. In the project there are only two classes, Mainactivity is working correctly, but the consumption class (Consumows) is not understanding…
-
0
votes1
answer113
viewsSimplejaxwsserviceexporter - Baseddress
I created a web service with JAX-WS and used Spring to put it online and also to decrease the use of XML. Problem is that when I declare the Simplejaxwsserviceexporter in the Spring configuration…
-
0
votes1
answer53
viewsAre there restrictions on XML rendering?
I have a file of 960 records where each record has 175 fields, it’s a real estate form. When I ask to loop the 960 records with only 10 fields enabled, it generates an XML error as per photo. //…