Questions tagged as 'web-service'

1
answer

Using Gson instead of Jackson on web service that makes use of Jersey

I found that Jersey by default makes use of the Jackson framework for resources to return data in Json format. However, I had the need to use the Gson framework to convert the objects to Json. How to do this if Jersey uses Jackson implicitly?...
asked by 11.05.2017 / 16:06
1
answer

How to validate data entry of a web service?

What is the best way to validate a WebService call? I explain: I have a WebService that has as Request a String of varying size and that returns the same formatted string, eg: Input String:    "ST STN, SET J, * STORES T-40 / T41, - TER-REO...
asked by 23.04.2017 / 16:10
0
answers

consume webservice in WCF with ajax

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <form id="form1"> <div class="jumbotron"> <input type="text" id="codUser"/> <button onc...
asked by 09.05.2017 / 13:58
0
answers

How to RECORD android data in MySQL using webservices (AsyncTask)?

I have an android application that has several buttons on different screens, I should attach the clicked buttons and send to MySQL. li about webservices ( link ) and you need an AsyncTask to make that connection. banco_mysql.java...
asked by 25.04.2017 / 15:23
3
answers

webservice REST GET method with token in external browser

I'm developing a client that consumes a webservice, all POST methods are ok. It has a GET method that should return an HTML page for customer registration. In this method, you need to define the header: content-type:"application/json"...
asked by 25.04.2017 / 20:17
1
answer

How to Insert List with JPA

Good afternoon! I'm doing a web service that gets a Json from the application, unencapsulates and inserts into the database. I can decode normally, the problem occurs at the time of inserting the data into the database. I have a list insid...
asked by 27.03.2017 / 21:43
0
answers

Use of framework in java web project

I have a project in Java that runs services (SOAP / REST) and we have a framework that supports this, generates a report, makes REST calls and etc, and I also have a java web project that captures a list in View that the user has entered. We wan...
asked by 11.04.2017 / 20:35
2
answers

Get ID of a line that was just created in PHP

Hey guys, So I have a problem that is as follows, I have a table players , a table training and a helper table treadmill (where will I see if some player is currently training) The question is, how can I do that by the time I create a worko...
asked by 10.11.2015 / 19:44
1
answer

Problem trying to connect to SOAP Web Service

I'm trying to connect to a web service by PHP that the documentation provided uses the SOAP protocol, but I can not even connect through the provided URL. URL: link My code: ini_set('soap.wsdl_cache_enabled',0); ini_se...
asked by 14.03.2017 / 00:39
1
answer

Error running WebService Java

I am trying to execute a Web Service SOAP from the server GlassFish Server 4.1.1 on NetBeans 8.2 . Attempting to run the following error is returned: Web Service Methods: @WebService(serviceName = "CalculatorWS") @Sta...
asked by 13.03.2017 / 15:21