Questions tagged as 'web-service'

1
answer

All Apache requests pointing to the same directory

I configured a VHost for my project as follows: 1 - I added a line to the file /etc/hosts containing local address, url and alias 127.0.0.1 meuprojeto.com meuprojeto 2 - I added the meuprojeto.conf file to /etc/apache2/sites-enabl...
asked by 25.04.2016 / 17:29
1
answer

Difference between Model class and Class generated in a Webservice

I'm having trouble generating a webservice. I have my Lib with the template classes: Address, City and Client. I also have a Lib with the DAO classes to control access to the data for the template classes: ADDRESS, ADDRESS, CityDAO. In the En...
asked by 26.04.2016 / 19:08
1
answer

Calling a WebService Rest with a Post Order

I wanted to do on Android a call to a Rest WCF WebService via POST requests. In C # I can, by sending the post, url and body param . But in Android , whenever I send a parameter, the webservice method (although I can connect), says t...
asked by 14.04.2016 / 10:49
1
answer

How to call a web service in swift2 Xcode 7

I have already tried 1000 and 1 thing and still could not find a way to call my web service and get the results you want. Can someone tell me the best way to connect to my web service and call my methods in swift2 with xcode 7?     
asked by 02.02.2016 / 22:55
1
answer

Problem with javax / persistence / Persistence using JPA with CXF

I'm facing an error when I try to consume a web service that is using JPA (Eclipse-link) to insert data into the database.    Classes Entity: @Entity @Table(name = "gato") public class GatoPersistente implements Serializable { private sta...
asked by 04.02.2016 / 12:19
0
answers

Insert and update method does not work on azure

Good afternoon Friends I'm starting in asp net development and I made a web form application and put it in the azure. It is a simple application of cardapio that accesses a mysql database created by azure as well. What happens is that in visu...
asked by 22.01.2016 / 22:28
0
answers

Consume webservice JAVA - Problem

I'm trying to consume webservice but it's giving me an error that I do not understand. The webservice is this . I'm trying to use solicitarRange , and I usually do this: new WebServiceScol_Service().getWebServiceScolPort().solicitarR...
asked by 21.01.2016 / 17:55
0
answers

How to upload files to my server using Java servlets

How to upload files to my server using Java servlets, and after uploading the file return the url in which the file is located, where the name originates from the date and time the file was sent so it does not act replicates of names, would anyo...
asked by 29.01.2016 / 13:39
0
answers

How do I know when the SQLite query is finished?

In my app I have a synchronization method, this method downloads multiple entries from my webservice and inserts them into the local SQLite database through a for loop. I need to know when the SQLite insert is finished so I can display a window...
asked by 13.01.2016 / 18:46
1
answer

WebService Rest

I'm wondering how do I send a post in the format json using form . This is the form I use: <form action="rest/carros" enctype='application/json' accept-charset="utf-8" method="post"> <input name...
asked by 16.01.2016 / 20:03