Questions tagged as 'web-service'

1
answer

Generate notification on the web platform every time a new form arrives

I am developing two applications one web (service) and another mobile (consumes the service), in apk the user send forms to the web application, hence I would like to create a kind of notification for each new form that the server receives. Simi...
asked by 31.12.2017 / 17:41
1
answer

Error saving JPEG image to bank as string (base64)

I'm developing an application that has a form where the user can attach a photo next to the form. But I'm having trouble implementing this. In my APK I have already captured the image, converted to base 64 and sent via Rest to my service. publ...
asked by 05.01.2018 / 14:58
1
answer

java.lang.ArrayIndexOutOfBoundsException: length = 0; index = 0

I am developing an application that will consume the price and time calculation service of the mails, however I have a problem in the service response, it returns me the following message: java.lang.ArrayIndexOutOfBoundsException: length = 0; in...
asked by 16.11.2017 / 15:04
1
answer

WEBSERVICE ASP.NET Method not found

I have a problem with a webservice that I created and I tried several options and I could not solve it. I have a list of Methods available as shown below WhenIselecttheVAPSmethod,theformforfillinginthefieldsappearscorrectlyandifIfillinand...
asked by 23.10.2017 / 17:28
1
answer

Sending the token via header or param

I'm using JWTAuth to create tokens for my API. I saw that at the time of the request I can send the token in the header or via param. I understand that by sending via the header the token accompanies the request in a "transparent" w...
asked by 16.10.2017 / 21:09
1
answer

Webservice delete error [closed]

I have a problem with my webservice. You are giving this error:    RequestFailed RequestFailed - > Status: (405) The code I'm using: @DELETE @Produces("text/plain") @Path("ExcluirLista/{usuario}") public boolean excluirTodos(@PathPar...
asked by 27.09.2017 / 15:52
1
answer

Running Java Webservice out of eclipse with Maven

Hello, I have a webservice project that on my computer runs normally, using eclipse and tomcat. And now I want to transport this project to a server and that it runs only with Tomcat. There is also a question: Will the Tomcat and project pull th...
asked by 18.08.2017 / 20:15
1
answer

Retrofit JSON - Error Expected BEGIN_ARRAY but was BEGIN_OBJECT [duplicate]

I've done some Retrofit projects and it always worked but I'm doing one that consumes end-point from api.github.com and is giving an error and I can not find a solution, I've done everything I could, if anyone knows what to do . The error...
asked by 13.09.2017 / 19:59
1
answer

Result Web Service RETROFIT in Another Activity - Android

I have a Web Service method using the Retrofit library that can be queried from 2 different Activities. How can I use the result of the Web Service method that is in a class and display on an Activity? How can I also update a ListView...
asked by 06.07.2017 / 13:25
1
answer

How to implement application rest in production? (Web or cloud servers) [closed]

I'm new to platform and I'm learning java doing a little android project that queries database, but I saw that android is not cool to communicate with database directly, so I learned to create an api rest using netbeans, tomcat and glassfish. So...
asked by 03.07.2017 / 22:46