⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reference.cs

📁 c#解析xml文件 通过调用webservice返回的xml字符串进行解析
💻 CS
字号:
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行库版本:2.0.50727.42
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.CompactFramework.Design.Data 2.0.50727.42 版自动生成。
// 
namespace descriptionXml.neibuWebservice {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="TobaccoOperationSoapBinding", Namespace="http://business.tobaservice.whty.com")]
    public partial class TobaccoOperationService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public TobaccoOperationService() {
            this.Url = "http://10.8.2.76:8081/tobacco/services/TobaccoOperation";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://business.tobaservice.whty.com", ResponseNamespace="http://business.tobaservice.whty.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("tobaOperationInterfaceReturn")]
        public string tobaOperationInterface(string serviceId, string retailPermisCode, string cellPhone, string sessionId, string operationType, string parameOne, string parameTwo) {
            object[] results = this.Invoke("tobaOperationInterface", new object[] {
                        serviceId,
                        retailPermisCode,
                        cellPhone,
                        sessionId,
                        operationType,
                        parameOne,
                        parameTwo});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BegintobaOperationInterface(string serviceId, string retailPermisCode, string cellPhone, string sessionId, string operationType, string parameOne, string parameTwo, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("tobaOperationInterface", new object[] {
                        serviceId,
                        retailPermisCode,
                        cellPhone,
                        sessionId,
                        operationType,
                        parameOne,
                        parameTwo}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndtobaOperationInterface(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -