Questions tagged as 'web-service'

1
answer

Request API with JavaScript

I'm doing a web application in which the purpose will be to use an API to just list some information (GET) and for that I would use only javaScript and html. The API is this: link and has key (headers). const app = document.getElement...
asked by 11.12.2018 / 12:48
1
answer

Return 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 do not fill in all the fields of this object and it shows all in the response xml. How do I display only the fields that have value, ie the ones that I fill in?   ...
asked by 27.05.2014 / 20:27
1
answer

What is the key for the variables in node.js

Hello, I have a little amateur doubt I'm starting with node.js and through my learning I came across a situation and would like to understand, in one of the codes that I researched I found a variable declared the name in braces as the example be...
asked by 02.11.2018 / 21:59
1
answer

How to expose only a few columns of the table in a WebService via SOAP?

How can I display only a few columns in a WebService? Home Example: I need to expose only the Name and AboutName of the table: public class Cliente { public string Nome {get; set;} public string SobreNome {get; set;} public...
asked by 04.10.2018 / 21:49
1
answer

Type mismatch: can not convert from Unmarshaller to Pool.Unmarshaller

I'm getting this error message in eclipse in a Rest project client.java code package cliente; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net...
asked by 17.08.2018 / 23:23
1
answer

Difficulties in receiving JSON data in PHP

Good evening everyone, I'm having a serious question about receiving JSON data via an external link. I have a link that pulls all the information I need to show, but there is my question, I'm using a form to show the data according to the...
asked by 12.07.2018 / 01:42
1
answer

"SoapWrapper" does not work with laravel

I'm trying to consume a WS via application in laravel 5.6. This is the test code: namespace App\Http\Controllers; use SoapClient; use Artisaninweb\SoapWrapper\Facades\SoapWrapper; use Illuminate\Http\Request; use App\Soap\Request\GetConvers...
asked by 24.05.2018 / 09:00
1
answer

Authentication error in WSDL

using phptester to test the following code: <?phptry { $opts = array( 'http' => array( 'user_agent' => 'PHPSoapClient' ) ); $context = stream_context_create($opts); $wsdlUrl = 'http://ws.portaledu.com.br:8051/wsCons...
asked by 24.05.2018 / 19:11
1
answer

HTTP Status 405 - Method Not Allowed in method @DELETE

I created a webservice that accesses a MySQL database, but I can not delete records, I always get the following return: HTTP Status 405 - Method Not Allowed . The method received in the request-line is known by the origin server but not supp...
asked by 20.06.2018 / 12:40
1
answer

Result AsyncTask

I have rephrased the question again to try to better clarify the need for my situation: I need to run between the following activity's activityaa, by clicking the button, the application sends an information to a php page, which from this inf...
asked by 16.03.2018 / 01:28