using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
using WebApplication1.SearchPhone;
namespace WebApplication1
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
SearchPhone.MobileCodeWSSoapClient smw = new MobileCodeWSSoapClient();
smw.Open();
this.TextBox2.Text = smw.getMobileCodeInfo(this.TextBox1.Text, "");
}
当代码执行到“SearchPhone.MobileCodeWSSoapClient smw = new MobileCodeWSSoapClient();时无法加载协定为“SearchPhone.MobileCodeWSSoap”的终结点配置部分,因为找到了该协定的多个终结点配置。请按名称指示首选的终结点配置部分
}
} |