如何使用KSOAP调用Web服务?

时间:2011-05-27 08:58:01

标签: android ksoap2 ksoap

我找到了一些例子......但我无法理解他们是如何称呼它的

package com.webservicetest;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.HttpTransportSE;
import android.app.Activity;


public class webservicetest extends Activity {
private static final String NAMESPACE = "http://localhost/webservicetest/" ;
private static final String URL = "http://192.168.1.10/webservicetest/Service.asmx";
private static final String HelloWorld_SOAP_ACTION = "http://localhost/webservicetest/HelloWorld";
private static final String METHOD_NAME1 = "HelloWorld";

1 个答案:

答案 0 :(得分:1)

你是Android的新学习者吗?你需要清除所有的概念。 请参阅此链接。

http://androidtutorials.org/