added web service call on ui thread

added web service call on ui thread