1

How to have a web service class to call in Async way?

view story
linux-howto

http://stackoverflow.com – I have a web service class to call my web methods. but this have to be called in AsyncTask class. Currently I have an AsyncTask class in all of my activities to call my web service methods. is it possible to mix them (Web service class And AsyncTask) to have a web service class which takes the name of web method and return the result after executing? This is my web service class: package ClassLibrary; public class WebService { private String namespace=""; private String url=""; public WebService(String namespace,String url) { super(); this.namespace = namespace; (HowTos)