0

这是我的 .net 基本网络服务

[WebMethod]
public bool firstService(string ad)
{
    bool returnValue;
    if (name== "john")
    {
        returnValue = true;
    }
    else
    {
        returnValue = false;
    }
    return returnValue;
}

我想将带有按钮帮助的被动参数(在我的示例中为 name )从我的 android 应用程序发送到 .net webservice。我只想在我的设备上显示返回的 XML 文件。我如何使用 SOAP 来做到这一点?(我只想显示到 XML 文件,甚至不解析 XML :))请帮助我。

4

1 回答 1

0

您需要创建 saop 消息并调用它。看看这个 http://aaarkonusurum.blogspot.com/2011/10/3-party-kutuphane-kullanmadan-ksoap2.html

于 2013-07-02T17:43:30.357 回答