Questions tagged as 'web-service'

2
answers

When I use PathParam or QueryParam?

I know the difference, but when do I use PathParam or QueryParam? Is the following explanation correct?    If there is a scenario to retrieve the record based on id, for example   you need to get the details of the employee whose id is 15, th...
asked by 05.03.2015 / 13:46
1
answer

JSON-RPC or RESTFULL?

Between developing an API using JSON-RPC or REST (RESTFULL), I would like to know in which cases there are advantages / disadvantages in using one or the other. OBS: It can be through knowledge / experience or reference sources.     
asked by 08.06.2015 / 16:36
2
answers

Send problem in Webservice call (SOAP_ACTION, envelope)

I have a service that when accessed by the browser it shows the xml through the " link command. p> I made a test application to test the connection and when it arrives at the command Tranport.call(SOAP_ACTION, envelope) the error log i...
asked by 22.01.2015 / 23:48
1
answer

NullPointerException with CDI and JAX-RS

I am studying JAX-R S and created a simple project with the following class: Webservice Code @Path("generic") public class GenericResource { @Inject private MeuServico servico; @GET @Produces("text/plain") publi...
asked by 26.06.2014 / 01:30
1
answer

HttpTransportSE gives "java.io.EOFException" error using KSoap2 on Android

I'm using the KSoap2 lib in the Android project, for communication with webservice. All communication is within an AsyncTask (). In some moments of access to the method, an exception occurs: "java.io.EOFException" I searched the In...
asked by 10.07.2014 / 19:27
1
answer

Error using $ http AngularJS

I'm trying to call the $ http method of AngularJS to get information from a REST WebService, but the following error appears: Error: [$injector:modulerr] http://errors.angularjs.org/1.2.23/$injector/modulerr?p0=contatosApp&p1=%5B%24injecto...
asked by 07.09.2014 / 21:53
1
answer

eSocial: Invalid Signature .NET Framework

Invalid Signature Good afternoon, I have a problem transmitting information to eSocial webservices. The process I do is as follows: Event XMLs are generated on the server, returned to an application that runs on the client machine and is re...
asked by 20.12.2018 / 17:19
1
answer

Generate a new JSON by manipulating the data of another JSON

I was participating in an internship test and the following problem was proposed to me: I would have to read the JSON below: [ { "nome":"Jabba, the Hutt", "jedi":false, "sistemas":[ "Tatooine" ] }, { "nome":"Chewbacca", "jedi":false, "sist...
asked by 03.09.2018 / 21:37
1
answer

Doubt about which Inheritance to use in the Entity Framework

I just had the opportunity to use EF basically 1x. So, I have a lot of doubts, even though I'm consulting quite a bit with google. I have a client application that will pick up various Facebook data from the logged in user ... Playing in Json...
asked by 08.11.2017 / 01:11
1
answer

Curl post tracking

I'm trying to do a POST with curl to check my deliveries. But nothing is coming back. Can anyone help me? <?php $post = array('Objetos' => 'PN752805878BR'); // iniciar CURL $ch = curl_init(); // informar URL e outras funções ao CU...
asked by 30.06.2017 / 14:30