Questions tagged as 'webservice'

1
answer

Failed to access the WSDL. It failed with: java.security.cert.CertificateException: No subject alternative names present

I have started working with Web Services and trying to consume one for telephony provided by Avaya from a web application that I am creating in Netbeans. The code in the application is simply for a login: HTML code <%@page contentType=...
asked by 18.12.2018 / 19:44
2
answers

Send JSON php

I am having problems sending a JSON from a PHP and MySQL webService, I leave the code of the query and the fetch assoc, the query has already been checked and it is correct, in phpMyAdmin it makes me perfect, the problem is that when I receive t...
asked by 21.11.2018 / 19:33
1
answer

Create a WebService in ASP.NET that returns indefinite number of columns in a database

Normally this is the structure of a WebService that I use in a project, but now I need to bring all the columns of a table that can have N number of columns, in the example I only receive 4 columns that exist, but what happens when I have 12, 15...
asked by 05.10.2018 / 03:36
1
answer

How to know the order in which the columns of a query arrive

I'm doing an app with Android Studio and I'm using the Volley liberty to consume a service. The web service gives me this data. in JSON format, but I would like to know how to do with a cycle to get the name of the columns, } given t...
asked by 17.08.2018 / 23:15
1
answer

Send image through Http Post

Hello everyone, I'm trying to send a node file (Client) to my Java web service using Jersey the file is received correctly using POSTMAN this is my Java code: @POST @Path("eliminar") @Consumes({ MediaType.MULTIPART_FORM_DATA, ("text/plain"...
asked by 25.04.2018 / 16:40
1
answer

get value of a select from a jquery

good evening I have the following script: $(document).ready(function() { $.ajax({ dataType: "json", data: [], url: "https://ubicaciones.paginasweb.cr/provincias.json",...
asked by 14.12.2017 / 06:21
1
answer

C # Consume Webservice

Recently I made a utility to send invoices to the SII system of the hacienda using the hacienda webservice. In visual studio create a reference to the web service link In this way, I conveniently access the methods and I can send the des...
asked by 07.02.2018 / 17:39
2
answers

How do I replace the minimum values of a date with an empty string?

I have a program which calls a service when it executes, it gives me certain values and they are saved in a csv file. One of those values is a date which when it is empty shows me 1/1/0001 12:00:00 AM as a minimum value. What I want is that b...
asked by 27.10.2017 / 17:29
1
answer

Android, AsyncTask or Runnable threads

I'm going to start chopping code referring to threads in java so that I can make a series of web requests. Stock stock = null; try { stock = YahooFinance.get("YHOO"); } catch (IOException e) { e.printStackTrace();...
asked by 05.05.2017 / 13:13
2
answers

consume Json in android studio FATAL EXCEPTION: Thread-13149

I have the following code to consume data from a webservice: public String enviardatosGet(String user, String pass){ URL url = null; String linea = ""; int respuesta = 0; StringBuilder resul = null; try { url = new...
asked by 24.11.2016 / 22:32