📄 simplesoapappservice.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.2806.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace HttpListenerCSharpClient.localhost {
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.Web.Services;
[System.Web.Services.WebServiceBindingAttribute(Name="SimpleSoapAppServiceSoap", Namespace="urn:SimpleSoapAppService")]
public class SimpleSoapAppService : System.Web.Services.Protocols.SoapHttpClientProtocol {
public SimpleSoapAppService() {
this.Url = "http://localhost:333/Invoke?Handler=Default";
}
[System.Web.Services.Protocols.SoapRpcMethodAttribute("#HelloWorld", RequestNamespace="urn:SimpleSoapAppService", ResponseNamespace="urn:SimpleSoapAppService")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public string HelloWorld(string bstrInput) {
object[] results = this.Invoke("HelloWorld", new object[] {bstrInput});
return ((string)(results[0]));
}
public System.IAsyncResult BeginHelloWorld(string bstrInput, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("HelloWorld", new object[] {bstrInput}, callback, asyncState);
}
public string EndHelloWorld(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -