public synchronized void DoService() {
Thread thread = new Thread(this);
thread.start();
}
public void run() {
ServiceSoap_Stub s = new ServiceSoap_Stub();
String h;
try {
s._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY , "http:/Server IP/service.asmx" );
h=s.getHello("12345" , "soud");
}catch(Exception e) {
h = "service not available";
}
si.setText(h);
}