随笔分类 -  delphi

delphi 调用 c# 写的webservice
摘要:调用helloWorld的返回值是正确的,调用add的时候,传入(1,2)时,返回值却为0,不知什么原因,这个问题困惑了很久,请高手们指教~ 以下是源码 //c#写的webservice的源码 [WebService(Namespace = "http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class servTest : System.Web.Services.WebService { public servTest () { //Uncomment the following line if using designed components //InitializeComponent(); } [WebMethod] public string HelloWorld() { return 阅读全文
posted @ 2007-11-08 11:41 家猫 阅读(1269) 评论(0) 推荐(0)