哪位大虾能写个简单的调用以下helloworld的代码让我研究一下啊
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
// Service myService = new Service();
// String reslut = myService.HelloWorld;
namespace rerere
{
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : System.Web.Services.WebService
{
InitializeComponent();
}
#region Component Designer generated code
private IContainer components = null; private void InitializeComponent()
{
} protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
#endregion
[WebMethod(Description = "集")]
public string HelloWorld()
{
return "helloworld";
}
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
// Service myService = new Service();
// String reslut = myService.HelloWorld;
namespace rerere
{
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : System.Web.Services.WebService
{
InitializeComponent();
}
#region Component Designer generated code
private IContainer components = null; private void InitializeComponent()
{
} protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
#endregion
[WebMethod(Description = "集")]
public string HelloWorld()
{
return "helloworld";
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货