如何来用cxf结合spring开发webservice接口

2025-05-13 03:02:00
推荐回答(1个)
回答1:

代码如下protected void Button1_Click(object sender, EventArgs e) { localhost.Service aa = new localhost.Service(); Label1.Text =Convert.ToString( aa.GetSum(Convert.ToInt32(TextBox1.Text.Trim()), Convert.ToInt32(TextBox2.Text.Trim()))); }