📄 service.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// 此源代码由 wsdl, Version=1.1.4322.573 自动生成。
//
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="ItemBinding", Namespace="urn:ActionWebService")]
[System.Xml.Serialization.SoapIncludeAttribute(typeof(Item))]
public class ItemBinding : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public ItemBinding() {
this.Url = "http://192.168.0.29:3000/l_ws/api";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("/l_ws/item/FindAllItems", RequestNamespace="urn:ActionWebService", ResponseNamespace="urn:ActionWebService")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public Item[] FindAllItems() {
object[] results = this.Invoke("FindAllItems", new object[0]);
return ((Item[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginFindAllItems(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindAllItems", new object[0], callback, asyncState);
}
/// <remarks/>
public Item[] EndFindAllItems(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Item[])(results[0]));
}
}
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="CategoryBinding", Namespace="urn:ActionWebService")]
[System.Xml.Serialization.SoapIncludeAttribute(typeof(Item))]
public class CategoryBinding : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public CategoryBinding() {
this.Url = "http://192.168.0.29:3000/l_ws/api";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("/l_ws/category/FindCategoryById", RequestNamespace="urn:ActionWebService", ResponseNamespace="urn:ActionWebService")]
[return: System.Xml.Serialization.SoapElementAttribute("return")]
public Category FindCategoryById(int param0) {
object[] results = this.Invoke("FindCategoryById", new object[] {
param0});
return ((Category)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginFindCategoryById(int param0, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindCategoryById", new object[] {
param0}, callback, asyncState);
}
/// <remarks/>
public Category EndFindCategoryById(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Category)(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.SoapTypeAttribute("Item", "urn:ActionWebService")]
public class Item {
/// <remarks/>
public int id;
/// <remarks/>
public string title;
}
/// <remarks/>
[System.Xml.Serialization.SoapTypeAttribute("Category", "urn:ActionWebService")]
public class Category {
/// <remarks/>
public int id;
/// <remarks/>
public string name;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -