他会在web引用后生成如下代码:
- [WebMethod]
- public void getPwdNick(int userid,out string pwd,153); background-color:inherit">string nick)
- {
- }
这段代码在vs中点击显示所有文件,然后再web refences下面localhost-Reference.map-Reference.cs中。[System.Web.Services.Protocols.soapDocumentMethodAttribute("http://tempuri.org/getPwdNick",RequestNamespace=http://tempuri.org/normal; color:rgb(128,ResponseNamespace=normal; color:rgb(128,Use=System.Web.Services.Description.soapBindingUse.Literal,ParameterStyle=System.Web.Services.Protocols.soapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute(pwd")]
public string getPwdNick(int userid,out string nick)
{
object[] results = this.Invoke(getPwdNicknormal; color:rgb(128, new object[] {userid});
nick = ((string)(results[1]));
return ((0]));
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。