Questions tagged as 'web-service'

0
answers

Web API: GetOne return object json

I've created a WEB API project with EMPTY template. I would like the GetOne () method to return a json object but it is returning an json array. Why? I would like it to return: {"Id": 1, "Nome":"Jhon"} But it's returning: [{"Id": 1, "N...
asked by 27.01.2018 / 20:41
0
answers

How to set a string in weblogic

I need my application to consume an internal webservice and I would like to know if it is possible to register the endpoint of this webservice in a weblogic variable and call this variable by my application. example how I'm doing today: pub...
asked by 31.01.2018 / 15:25
1
answer

Measure distance from multiple points using Google

I'm working on an app where the user can see the establishments closest to him. In the bank I keep latitude and longitude, and in mobile I retrieve the user's position. I made a LIMIT in SQL to bring paged this data by ordering by the shortes...
asked by 22.01.2018 / 13:41
1
answer

Recover Bearer Token using ClientId and ClientSecret

Good morning, I need to make a call in an API, I have ClientId and ClientSecret, but from what I understand, I can make calls using the "authorization bearer". My question is how do I turn the id and secret into this "bearer token". I'm...
asked by 18.01.2018 / 12:55
1
answer

Problems generating OAuth access token with HttpURLConnection

I'm trying to make a request for a webservice that uses OAuth to generate an access token. But even though the request returns the Http 200 code, json appears only as {"errors": {"internal": ["500"]}} , below the code: NOTE: I did the same p...
asked by 16.01.2018 / 19:28
1
answer

How to integrate an App to an ASP.NET WebService (ASMX) via Xamarin?

I have a sql server created with an asp.net web service, but I wanted to know how I can integrate the server data by creating an app to read it using the GET request. > Thanks in advance for your attention     
asked by 10.01.2018 / 13:23
1
answer

Sending problem SPED-REINF C #

Dear friends, I'm trying to send an xml for approval to the SEFAZ for SPED-REINF code R-1000, I got help for the methods needed here with the friends of the discussion list. But I have the problem that I do not know how to solve, every file I...
asked by 15.01.2018 / 20:24
1
answer

Android application that consumes WebService

I'm trying to create my first app to make use of a WebService, in that case I'm just trying to return some of the information via string and later I'll put each information in its proper component, I'm trying to use the coinmarketcap API to brin...
asked by 13.01.2018 / 01:22
0
answers

moodle function mod_quiz_get_attempt_data returning html incomplete

I'm developing an application for moodle that returns the quiz in html. I made use of webservice mod_quiz_get_attempt_data but the problem is that whenever I send the request, the browser returns: Uncaught TypeError: require is not a fu...
asked by 06.01.2018 / 13:29
2
answers

Definition of WSDL raising exception

Hello, I have been trying to define a wsdl of a component that uses SOAP for an SOA project that mixes several types of services, integrating them with camel. But I am caught up in a problem that I see no sense in the answer he gives me, which I...
asked by 04.01.2018 / 14:04