//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace DataUpload.QZSOAPClient { /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1064.2")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://com.pft.webserviceintf")] public partial class generalWebServiceFaultBean : object, System.ComponentModel.INotifyPropertyChanged { private string codeField; private string messageField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] public string code { get { return this.codeField; } set { this.codeField = value; this.RaisePropertyChanged("code"); } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] public string message { get { return this.messageField; } set { this.messageField = value; this.RaisePropertyChanged("message"); } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(Namespace="http://com.pft.webserviceintf", ConfigurationName="QZSOAPClient.GeneralWebService")] public interface GeneralWebService { // CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。 [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(DataUpload.QZSOAPClient.generalWebServiceFaultBean), Action="", Name="GeneralWebServiceFault")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [return: System.ServiceModel.MessageParameterAttribute(Name="return")] DataUpload.QZSOAPClient.callResponse call(DataUpload.QZSOAPClient.call request); // CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。 [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(DataUpload.QZSOAPClient.generalWebServiceFaultBean), Action="", Name="GeneralWebServiceFault")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [return: System.ServiceModel.MessageParameterAttribute(Name="return")] DataUpload.QZSOAPClient.batchcallResponse batchcall(DataUpload.QZSOAPClient.batchcall request); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="call", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)] public partial class call { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)] [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string servicename; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=1)] [System.Xml.Serialization.XmlElementAttribute("params", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string[] @params; public call() { } public call(string servicename, string[] @params) { this.servicename = servicename; this.@params = @params; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="callResponse", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)] public partial class callResponse { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)] [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string @return; public callResponse() { } public callResponse(string @return) { this.@return = @return; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="batchcall", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)] public partial class batchcall { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)] [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string servicename; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=1)] [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string batchdata; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=2)] [System.Xml.Serialization.XmlElementAttribute("params", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string[] @params; public batchcall() { } public batchcall(string servicename, string batchdata, string[] @params) { this.servicename = servicename; this.batchdata = batchdata; this.@params = @params; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="batchcallResponse", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)] public partial class batchcallResponse { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)] [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string @return; public batchcallResponse() { } public batchcallResponse(string @return) { this.@return = @return; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface GeneralWebServiceChannel : DataUpload.QZSOAPClient.GeneralWebService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class GeneralWebServiceClient : System.ServiceModel.ClientBase, DataUpload.QZSOAPClient.GeneralWebService { public GeneralWebServiceClient() { } public GeneralWebServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public GeneralWebServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public GeneralWebServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public GeneralWebServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] DataUpload.QZSOAPClient.callResponse DataUpload.QZSOAPClient.GeneralWebService.call(DataUpload.QZSOAPClient.call request) { return base.Channel.call(request); } public string call(string servicename, string[] @params) { DataUpload.QZSOAPClient.call inValue = new DataUpload.QZSOAPClient.call(); inValue.servicename = servicename; inValue.@params = @params; DataUpload.QZSOAPClient.callResponse retVal = ((DataUpload.QZSOAPClient.GeneralWebService)(this)).call(inValue); return retVal.@return; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] DataUpload.QZSOAPClient.batchcallResponse DataUpload.QZSOAPClient.GeneralWebService.batchcall(DataUpload.QZSOAPClient.batchcall request) { return base.Channel.batchcall(request); } public string batchcall(string servicename, string batchdata, string[] @params) { DataUpload.QZSOAPClient.batchcall inValue = new DataUpload.QZSOAPClient.batchcall(); inValue.servicename = servicename; inValue.batchdata = batchdata; inValue.@params = @params; DataUpload.QZSOAPClient.batchcallResponse retVal = ((DataUpload.QZSOAPClient.GeneralWebService)(this)).batchcall(inValue); return retVal.@return; } } }