Web service is a system that enables applications to communicate with an API. Web service helps to expose business logic through an API interface where different systems communicate over network.
Questions tagged [android-webservice]
217 questions
0
votes
1 answer
What is the most recommend way to consume web Service in android development?
I am new in android development and getting start to consume web service. I want to do it in most latest recommended way. I found HttpUrlConnection is it the best and easy in most scenarios or any other Library?

Hafiz Fahad Munir
- 507
- 4
- 17
0
votes
2 answers
Web service in Android using asynctask
I have a class called "DataBase" extends "AsyncTask" for the use of remote database
public class DataBase extends AsyncTask{
ArrayList arrayList = new ArrayList<>();
String nameJson;
public DataBase(String…
0
votes
1 answer
How to parse xml data using SAX Parser and show it in listview
I want to parse XML data using SAX Parser and show the parsed data in the listview.
The XML is given below:-
Shop
3
…

Kanishka Sen
- 205
- 2
- 9
0
votes
3 answers
Volley Server error this site requires java script enabled
I am using volley to send web service request and volley response is SERVER ERROR (this site requires java script enabled). I tried POST and GET methods.
After some search on this issue I found these two questions..
Volley Server error (Requires…

user3001551
- 25
- 7
0
votes
1 answer
Android Sql Lite download from sql server using webservice
I have a website which display quotes grouped by author.
The front end is in asp.net and the database is in sql server 2012.
The table is simple with four fields.
Id numeric and primary key
Author nvarchar
Quote nvarchar
Insertdate datetime.
Now,…

Danish_k12
- 329
- 2
- 3
- 20
0
votes
2 answers
How to get the network error response message from server side using Volley library?
I am trying to get the HTTP status code like 400, 401, or 500 from server side. I tried the code below but the message was null.
new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
Log.e("error…

karthik
- 321
- 1
- 8
- 21
0
votes
1 answer
KSOAP namespaces and XML output formatting of request Issues
I'm building an Android app that needs to get some data via a SOAP interface. I'm trying to use the KSOAP2 module (using ksoap2-android-2.6.0-jar-with-dependencies.jar). I'm having trouble with getting KSOAP
I want this as request:

codehunter
- 81
- 2
- 14
0
votes
1 answer
SoapFault - faultcode: 'soap:Client' faultstring: 'Unmarshalling Error:
I am calling web service using Soap in Android. But i am getting an error
SoapFault - faultcode: 'soap:Client' faultstring: 'Unmarshalling Error: unexpected element (uri:"http://ws.service.tbank.co.th/", local:"arg0"). Expected elements are…

codehunter
- 81
- 2
- 14
0
votes
1 answer
callig C# web service in android
I want to calling asp.net web service in android. (that web service very simple, sum two integers and return result.)
my problem is this: when i run my app and click on button (for giving numbers from text fields and sum by web service and showing…

Ali express
- 11
- 3
0
votes
1 answer
Multiple Service calling by using Volley
I have a MainActivity where the Swipeable Tabs are created and from there two fragments are called. I have 2 webservice for Fragment A and Fragment B where I have to parse data coming from server. I am using volley. When I am in the first fragment;…

user312456
- 102
- 1
- 10
0
votes
2 answers
Cannot post variable from android client to php server
I develop an android code for transmit and received between android apps and PHP. The received part which is based on JSON, is properly working. I have tested by set variable manually in PHP code. However, when I have posted the variable from…

Mohammad Ali Nematollahi
- 321
- 1
- 4
- 13
0
votes
0 answers
Android Webservice do not return expected data in listview
I want to fetch a listview from webservice in Android app. I managed to get the data when i tried to break my code. But this is what I get when i break the code in the array list:
[com.xxx.example.Hotels@41319dc0, com.xxx.example.Hotels@4131a518,…

angie1289
- 1
- 3
0
votes
1 answer
Does the time in which response is received in Android from the web service depends on the library that we use for httpconnection?
This may be a very basic question. But please clear a doubt that I have. Does the time in which response is received in Android App from the web service depends on the library we use for http connection? I mean is some library give faster response…

rahul
- 1,095
- 8
- 22
0
votes
0 answers
AWS RDS connection with android
I don't know whether I'm in right way or not. After a long googling I'm posting this. My requirement is, My android app needs to get connected with Amazon RDS database directly. I do not know any other possibilities. What i have done is got…

Saravana Kumar Chinnaraj
- 47
- 1
- 3
0
votes
0 answers
How to Call a RESTful web service that have Spring Secuirty with POST parameters from an Android App
I have a Spring MVC web application protected with Spring Secuirty and it's configured using Java annotations, this is My Spring MVC application security config classes
package seguridad;
import…

StackQuestion
- 483
- 2
- 7
- 20