Android上呼叫ASRA Web Service

1.至http://code.google.com/p/ksoap2-android/下載Android呼叫Web Service的套件

2.在專案上按右鍵->Properties->Java Build Path->Libraries中加入下載的jar檔

3.用static String宣告Web Service的位置以及要使用的function

4.利用SoapObject及AndroidHttpTransport呼叫Web Service,參數利用addProperty加入,若要傳的是檔案,要先轉為base64binary