随笔分类 - 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
阅读全文
浙公网安备 33010602011771号