Questions tagged as 'web-service'

0
answers

Problem uploading a photo to a web server

Hello! I'm having a problem uploading a photo taken from an android application to a web server. On the local server it normally sends the photo, already on the web server, it sends only one photo and only sends another if it clears the applicat...
asked by 11.03.2017 / 21:11
1
answer

Pass parameters from the Web Service header?

I'm trying to make a web service call on AngularJS, however I'm getting the following error message in the browser console (I tested it in chrome and Firefox):    XMLHttpRequest can not load       No Access-Control-Allow-Origin header is pre...
asked by 06.02.2017 / 19:40
0
answers

Send ENUM parameter to C # via JavaScript

I'm developing a project in which I have to consume a Web Service in .NET that requires an object with some parameters of type Enum. The call is made by Javascript as below: function ConsultarPeriodo(){ var metodo = 'ConsultarPeriod...
asked by 06.03.2017 / 20:48
1
answer

WebService synchronous

I have a RESTful WebService developed in Java. I need a method (service) that is synchronous. But I can not do this on the client side, it has to be done on the WebService side, because this service can only be requested once only once. Anoth...
asked by 30.01.2017 / 11:46
0
answers

java error running via jar

I have a code that makes a request to a WS. When I run via NetBeans, the code works perfectly, but when I do via java -jar programa.jar the system has the following error: com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConn...
asked by 26.12.2016 / 18:15
1
answer

Capture return from a WebService

I managed via PHP to connect to a WebService via SOAP, but I can not capture the return data. I made a var_dump in the return variable, and what is displayed on the screen follows below: object(stdClass)[2] public 'BuscaSMPResult' =&g...
asked by 15.12.2016 / 11:19
0
answers

Configure WebService

I'm having trouble setting up a POST method, I'm implementing integration with the Gerencianet payment platform, their support returned me the following message in a call:    Dear, please try to evaluate the header of your query file to the t...
asked by 01.02.2017 / 14:22
0
answers

I want to receive an xml from webservice on android

I've tried everything, using HttpURLConnection , with HttpClient that is deprecated, these two options do not end, they stop at BufferedReader . I've tried using AsyncTask with doInBackground , but error:    an...
asked by 26.10.2016 / 19:11
1
answer

Dealing with JSON differences because of previous versions

What is the best way to deal with the following problem: I have a mobile iPhone and Android application that sends and receives data to a Webservice using JSON. My application needs to work offline, with users being able to stay weeks without...
asked by 13.10.2016 / 22:20
0
answers

How to remove SOAP header 'Security'

I'm trying to consume a SOAP 1.2 web service using a WCF client. The problem is, whenever I make a request a MessageSecurityException exception occurs with the following internal message: SOAP header Security was not understood As I...
asked by 01.11.2016 / 19:20