Reference.cs 3.5 KB
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace MydataWcfServiceTest.ServiceReference2 {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="RtTower", ConfigurationName="ServiceReference2.ITowerAppWS")]
    public interface ITowerAppWS {
        
        [System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/WebServiceIsConnected", ReplyAction="RtTower/ITowerAppWS/WebServiceIsConnectedResponse")]
        bool WebServiceIsConnected();
        
        [System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/WebServiceIsConnected", ReplyAction="RtTower/ITowerAppWS/WebServiceIsConnectedResponse")]
        System.Threading.Tasks.Task<bool> WebServiceIsConnectedAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/XmlAction", ReplyAction="RtTower/ITowerAppWS/XmlActionResponse")]
        System.Xml.Linq.XElement XmlAction(string xmlData);
        
        [System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/XmlAction", ReplyAction="RtTower/ITowerAppWS/XmlActionResponse")]
        System.Threading.Tasks.Task<System.Xml.Linq.XElement> XmlActionAsync(string xmlData);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ITowerAppWSChannel : MydataWcfServiceTest.ServiceReference2.ITowerAppWS, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class TowerAppWSClient : System.ServiceModel.ClientBase<MydataWcfServiceTest.ServiceReference2.ITowerAppWS>, MydataWcfServiceTest.ServiceReference2.ITowerAppWS {
        
        public TowerAppWSClient() {
        }
        
        public TowerAppWSClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public TowerAppWSClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public TowerAppWSClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public TowerAppWSClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bool WebServiceIsConnected() {
            return base.Channel.WebServiceIsConnected();
        }
        
        public System.Threading.Tasks.Task<bool> WebServiceIsConnectedAsync() {
            return base.Channel.WebServiceIsConnectedAsync();
        }
        
        public System.Xml.Linq.XElement XmlAction(string xmlData) {
            return base.Channel.XmlAction(xmlData);
        }
        
        public System.Threading.Tasks.Task<System.Xml.Linq.XElement> XmlActionAsync(string xmlData) {
            return base.Channel.XmlActionAsync(xmlData);
        }
    }
}