Reference.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace DataUpload.QZSOAPClient {
  11. /// <remarks/>
  12. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1064.2")]
  13. [System.SerializableAttribute()]
  14. [System.Diagnostics.DebuggerStepThroughAttribute()]
  15. [System.ComponentModel.DesignerCategoryAttribute("code")]
  16. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://com.pft.webserviceintf")]
  17. public partial class generalWebServiceFaultBean : object, System.ComponentModel.INotifyPropertyChanged {
  18. private string codeField;
  19. private string messageField;
  20. /// <remarks/>
  21. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
  22. public string code {
  23. get {
  24. return this.codeField;
  25. }
  26. set {
  27. this.codeField = value;
  28. this.RaisePropertyChanged("code");
  29. }
  30. }
  31. /// <remarks/>
  32. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
  33. public string message {
  34. get {
  35. return this.messageField;
  36. }
  37. set {
  38. this.messageField = value;
  39. this.RaisePropertyChanged("message");
  40. }
  41. }
  42. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  43. protected void RaisePropertyChanged(string propertyName) {
  44. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  45. if ((propertyChanged != null)) {
  46. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  47. }
  48. }
  49. }
  50. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  51. [System.ServiceModel.ServiceContractAttribute(Namespace="http://com.pft.webserviceintf", ConfigurationName="QZSOAPClient.GeneralWebService")]
  52. public interface GeneralWebService {
  53. // CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
  54. [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
  55. [System.ServiceModel.FaultContractAttribute(typeof(DataUpload.QZSOAPClient.generalWebServiceFaultBean), Action="", Name="GeneralWebServiceFault")]
  56. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  57. [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
  58. DataUpload.QZSOAPClient.callResponse call(DataUpload.QZSOAPClient.call request);
  59. // CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
  60. [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
  61. [System.ServiceModel.FaultContractAttribute(typeof(DataUpload.QZSOAPClient.generalWebServiceFaultBean), Action="", Name="GeneralWebServiceFault")]
  62. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  63. [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
  64. DataUpload.QZSOAPClient.batchcallResponse batchcall(DataUpload.QZSOAPClient.batchcall request);
  65. }
  66. [System.Diagnostics.DebuggerStepThroughAttribute()]
  67. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  68. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  69. [System.ServiceModel.MessageContractAttribute(WrapperName="call", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)]
  70. public partial class call {
  71. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)]
  72. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  73. public string servicename;
  74. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=1)]
  75. [System.Xml.Serialization.XmlElementAttribute("params", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  76. public string[] @params;
  77. public call() {
  78. }
  79. public call(string servicename, string[] @params) {
  80. this.servicename = servicename;
  81. this.@params = @params;
  82. }
  83. }
  84. [System.Diagnostics.DebuggerStepThroughAttribute()]
  85. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  86. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  87. [System.ServiceModel.MessageContractAttribute(WrapperName="callResponse", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)]
  88. public partial class callResponse {
  89. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)]
  90. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  91. public string @return;
  92. public callResponse() {
  93. }
  94. public callResponse(string @return) {
  95. this.@return = @return;
  96. }
  97. }
  98. [System.Diagnostics.DebuggerStepThroughAttribute()]
  99. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  100. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  101. [System.ServiceModel.MessageContractAttribute(WrapperName="batchcall", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)]
  102. public partial class batchcall {
  103. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)]
  104. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  105. public string servicename;
  106. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=1)]
  107. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  108. public string batchdata;
  109. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=2)]
  110. [System.Xml.Serialization.XmlElementAttribute("params", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  111. public string[] @params;
  112. public batchcall() {
  113. }
  114. public batchcall(string servicename, string batchdata, string[] @params) {
  115. this.servicename = servicename;
  116. this.batchdata = batchdata;
  117. this.@params = @params;
  118. }
  119. }
  120. [System.Diagnostics.DebuggerStepThroughAttribute()]
  121. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  122. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  123. [System.ServiceModel.MessageContractAttribute(WrapperName="batchcallResponse", WrapperNamespace="http://com.pft.webserviceintf", IsWrapped=true)]
  124. public partial class batchcallResponse {
  125. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://com.pft.webserviceintf", Order=0)]
  126. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  127. public string @return;
  128. public batchcallResponse() {
  129. }
  130. public batchcallResponse(string @return) {
  131. this.@return = @return;
  132. }
  133. }
  134. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  135. public interface GeneralWebServiceChannel : DataUpload.QZSOAPClient.GeneralWebService, System.ServiceModel.IClientChannel {
  136. }
  137. [System.Diagnostics.DebuggerStepThroughAttribute()]
  138. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  139. public partial class GeneralWebServiceClient : System.ServiceModel.ClientBase<DataUpload.QZSOAPClient.GeneralWebService>, DataUpload.QZSOAPClient.GeneralWebService {
  140. public GeneralWebServiceClient() {
  141. }
  142. public GeneralWebServiceClient(string endpointConfigurationName) :
  143. base(endpointConfigurationName) {
  144. }
  145. public GeneralWebServiceClient(string endpointConfigurationName, string remoteAddress) :
  146. base(endpointConfigurationName, remoteAddress) {
  147. }
  148. public GeneralWebServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  149. base(endpointConfigurationName, remoteAddress) {
  150. }
  151. public GeneralWebServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  152. base(binding, remoteAddress) {
  153. }
  154. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  155. DataUpload.QZSOAPClient.callResponse DataUpload.QZSOAPClient.GeneralWebService.call(DataUpload.QZSOAPClient.call request) {
  156. return base.Channel.call(request);
  157. }
  158. public string call(string servicename, string[] @params) {
  159. DataUpload.QZSOAPClient.call inValue = new DataUpload.QZSOAPClient.call();
  160. inValue.servicename = servicename;
  161. inValue.@params = @params;
  162. DataUpload.QZSOAPClient.callResponse retVal = ((DataUpload.QZSOAPClient.GeneralWebService)(this)).call(inValue);
  163. return retVal.@return;
  164. }
  165. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  166. DataUpload.QZSOAPClient.batchcallResponse DataUpload.QZSOAPClient.GeneralWebService.batchcall(DataUpload.QZSOAPClient.batchcall request) {
  167. return base.Channel.batchcall(request);
  168. }
  169. public string batchcall(string servicename, string batchdata, string[] @params) {
  170. DataUpload.QZSOAPClient.batchcall inValue = new DataUpload.QZSOAPClient.batchcall();
  171. inValue.servicename = servicename;
  172. inValue.batchdata = batchdata;
  173. inValue.@params = @params;
  174. DataUpload.QZSOAPClient.batchcallResponse retVal = ((DataUpload.QZSOAPClient.GeneralWebService)(this)).batchcall(inValue);
  175. return retVal.@return;
  176. }
  177. }
  178. }