Questions tagged as 'web-service'

1
answer

Making a factory return the data of an Ajax request

I'm trying to make a factory return the JSON of an Ajax request that I'm doing, but I think because it's asynchronous, the container with the users always returns empty. So much that I tested with several console.log and the sequence of...
asked by 12.08.2015 / 01:17
1
answer

How to consume the WebService of the PrefeituraSP for NFS-e Error "client 'Anonymous'" VB.NET

I am developing a project that will send XMLs to the WS of the federal revenue, I made the reference using the following URL: link But when you go through the Test Role EnvioRPS() you get the following error:    "The HTTP request is...
asked by 03.03.2015 / 20:00
1
answer

Search results for an API in php / json

I'm using the following API: link This is a database of books / documents and I need to access it there to fetch some records. I already have the registry and a key to use. It's just that I've never done anything like it, and I do not see how...
asked by 20.11.2014 / 15:27
1
answer

How to parse an XML response from the Web Service

Hello, I would like to know how I parse an xml response that I receive from my web service .. In case, I'm doing in Android, and wanted to transform the values and names that display in xml, into variables to be applied a graph with them .....
asked by 25.09.2014 / 15:22
1
answer

Put RESTful WS project in production

I'm a beginner in Java and these .jar, .war, etc businesses are new to me. I made my first RESTful Webservice project and added 2 * .jars, Gson and JDBC.postgres. I want to put it into production (on a server that will be Tomcat ) to use it...
asked by 02.10.2014 / 13:28
1
answer

Serialization - WebApi for WCF with base type property (abstract)

I have a problem here where I have a WebApi consuming a WCF. Basically I'm having trouble receiving a WCF property that is the base type of the class I'm actually sending. I'll give you an example to make it easier to explain:      [DataContr...
asked by 17.07.2014 / 19:01
1
answer

How to add a custom header in AJAX with pure javascript?

I'm using pure javascript to send an AJAX with the Access_token header with a key inside, because web-service requests this request ... but it's not going as I would like. I want it to look like this: Butit'sgettinglikethis: Here's my f...
asked by 08.08.2014 / 13:36
1
answer

How to make a CRUD via REST

Introduction I need to access a web service in PHP via mobile application. I've seen a lot of videos and read many tutorials about Delphi's REST Client. I was even able to develop a prototype of my application. Problem But the pr...
asked by 05.05.2014 / 00:57
1
answer

How does WebService SOAP / Rest work with JAX-WS?

I spent a whole day studying and finally I was able to authenticate with WebService SOAP using JAX-WS, using client generated by Eclipse. When you add the password and password to the SOAP message, how do you do this? Does it encode? Custo...
asked by 10.05.2014 / 18:43
1
answer

Change WebService address at runtime - C #

I'm developing an application that should connect to a number of Web services depending on the user's location. For example :    If the user is in the city " A " he will connect to the Web service: 192.168.1.1:8010 if he goes to...
asked by 19.05.2014 / 16:44