资 源 简 介
DroidSoapclient facilitates the development of Android applications that communicate with Web Services.
Used in conjunction with the tool KSOAP2, developer you will not have much more work.
Enjoy and contribute.
A example:
```
/*Follow the method "soma" in Servico.jws published in AXIS:
* public class Servico {
public String soma(int valor1, int valor2) {
int result = valor1 + valor2;
return String.valueOf(result);
}
}*/
package br.com.android;
import br.com.android.webservice.client.SoapClient;
import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class AppSoma extends Activity {
/** Called when the activity is first created. */
EditText ednumero1, ednumero2;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);