flex调用Webservice(一)

1. Webservice方法
    [WebMethod(Description = "从服务器返回一个字符串")]
    
public string HelloWorld(string input)
    {
        
return "Hello World," + input;
    } 
2. 调用 
Code

3. 效果
 txtArea 中显示 hello word + 输入的字符串;

原文地址:https://www.cnblogs.com/sunxi2003/p/1557354.html