/SLSTOffCampusWeb/Service References/ABSAMP/Reference.cs

https://bitbucket.org/jrobertshawe/off-campus-server · C# · 238 lines · 177 code · 47 blank · 14 comment · 2 complexity · 36708c19502eccec814a2ef4731bdf72 MD5 · raw file

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.18034
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace SLSTOffCampusWeb.ABSAMP {
  11. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  12. [System.ServiceModel.ServiceContractAttribute(Namespace="urn:BeachBasics.wsdl", ConfigurationName="ABSAMP.BeachBasicsPortType")]
  13. public interface BeachBasicsPortType {
  14. // CODEGEN: Generating message contract since the wrapper namespace (https://www.surfguard.slsa.asn.au/SLSA_WebServices/modules/absamp/BeachBasics.php) of message getBeachListRequest does not match the default value (urn:BeachBasics.wsdl)
  15. [System.ServiceModel.OperationContractAttribute(Action="urn:getBeachList", ReplyAction="*")]
  16. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  17. SLSTOffCampusWeb.ABSAMP.getBeachListResponse getBeachList(SLSTOffCampusWeb.ABSAMP.getBeachListRequest request);
  18. [System.ServiceModel.OperationContractAttribute(Action="urn:getBeachList", ReplyAction="*")]
  19. System.Threading.Tasks.Task<SLSTOffCampusWeb.ABSAMP.getBeachListResponse> getBeachListAsync(SLSTOffCampusWeb.ABSAMP.getBeachListRequest request);
  20. // CODEGEN: Generating message contract since the wrapper namespace (https://www.surfguard.slsa.asn.au/SLSA_WebServices/modules/absamp/BeachBasics.php) of message getBeachRequest does not match the default value (urn:BeachBasics.wsdl)
  21. [System.ServiceModel.OperationContractAttribute(Action="urn:getBeach", ReplyAction="*")]
  22. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  23. SLSTOffCampusWeb.ABSAMP.getBeachResponse getBeach(SLSTOffCampusWeb.ABSAMP.getBeachRequest request);
  24. [System.ServiceModel.OperationContractAttribute(Action="urn:getBeach", ReplyAction="*")]
  25. System.Threading.Tasks.Task<SLSTOffCampusWeb.ABSAMP.getBeachResponse> getBeachAsync(SLSTOffCampusWeb.ABSAMP.getBeachRequest request);
  26. }
  27. /// <remarks/>
  28. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18034")]
  29. [System.SerializableAttribute()]
  30. [System.Diagnostics.DebuggerStepThroughAttribute()]
  31. [System.ComponentModel.DesignerCategoryAttribute("code")]
  32. [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:BeachBasics.wsdl")]
  33. public partial class ctAuthentication : object, System.ComponentModel.INotifyPropertyChanged {
  34. private string usernameField;
  35. private string passwordField;
  36. /// <remarks/>
  37. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="token", Order=0)]
  38. public string username {
  39. get {
  40. return this.usernameField;
  41. }
  42. set {
  43. this.usernameField = value;
  44. this.RaisePropertyChanged("username");
  45. }
  46. }
  47. /// <remarks/>
  48. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="token", Order=1)]
  49. public string password {
  50. get {
  51. return this.passwordField;
  52. }
  53. set {
  54. this.passwordField = value;
  55. this.RaisePropertyChanged("password");
  56. }
  57. }
  58. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  59. protected void RaisePropertyChanged(string propertyName) {
  60. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  61. if ((propertyChanged != null)) {
  62. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  63. }
  64. }
  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="getBeachList", WrapperNamespace="https://www.surfguard.slsa.asn.au/SLSA_WebServices/modules/absamp/BeachBasics.php" +
  70. "", IsWrapped=true)]
  71. public partial class getBeachListRequest {
  72. [System.ServiceModel.MessageHeaderAttribute(Namespace="urn:BeachBasics.wsdl")]
  73. public SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication;
  74. public getBeachListRequest() {
  75. }
  76. public getBeachListRequest(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication) {
  77. this.ctAuthentication = ctAuthentication;
  78. }
  79. }
  80. [System.Diagnostics.DebuggerStepThroughAttribute()]
  81. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  82. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  83. [System.ServiceModel.MessageContractAttribute(WrapperName="getBeachListResponse", WrapperNamespace="https://www.surfguard.slsa.asn.au/SLSA_WebServices/modules/absamp/BeachBasics.php" +
  84. "", IsWrapped=true)]
  85. public partial class getBeachListResponse {
  86. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
  87. public string output;
  88. public getBeachListResponse() {
  89. }
  90. public getBeachListResponse(string output) {
  91. this.output = output;
  92. }
  93. }
  94. [System.Diagnostics.DebuggerStepThroughAttribute()]
  95. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  96. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  97. [System.ServiceModel.MessageContractAttribute(WrapperName="getBeach", WrapperNamespace="https://www.surfguard.slsa.asn.au/SLSA_WebServices/modules/absamp/BeachBasics.php" +
  98. "", IsWrapped=true)]
  99. public partial class getBeachRequest {
  100. [System.ServiceModel.MessageHeaderAttribute(Namespace="urn:BeachBasics.wsdl")]
  101. public SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication;
  102. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
  103. public string beachKey;
  104. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=1)]
  105. public string beachName;
  106. public getBeachRequest() {
  107. }
  108. public getBeachRequest(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication, string beachKey, string beachName) {
  109. this.ctAuthentication = ctAuthentication;
  110. this.beachKey = beachKey;
  111. this.beachName = beachName;
  112. }
  113. }
  114. [System.Diagnostics.DebuggerStepThroughAttribute()]
  115. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  116. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  117. [System.ServiceModel.MessageContractAttribute(WrapperName="getBeachResponse", WrapperNamespace="https://www.surfguard.slsa.asn.au/SLSA_WebServices/modules/absamp/BeachBasics.php" +
  118. "", IsWrapped=true)]
  119. public partial class getBeachResponse {
  120. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
  121. public string output;
  122. public getBeachResponse() {
  123. }
  124. public getBeachResponse(string output) {
  125. this.output = output;
  126. }
  127. }
  128. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  129. public interface BeachBasicsPortTypeChannel : SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType, System.ServiceModel.IClientChannel {
  130. }
  131. [System.Diagnostics.DebuggerStepThroughAttribute()]
  132. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  133. public partial class BeachBasicsPortTypeClient : System.ServiceModel.ClientBase<SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType>, SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType {
  134. public BeachBasicsPortTypeClient() {
  135. }
  136. public BeachBasicsPortTypeClient(string endpointConfigurationName) :
  137. base(endpointConfigurationName) {
  138. }
  139. public BeachBasicsPortTypeClient(string endpointConfigurationName, string remoteAddress) :
  140. base(endpointConfigurationName, remoteAddress) {
  141. }
  142. public BeachBasicsPortTypeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  143. base(endpointConfigurationName, remoteAddress) {
  144. }
  145. public BeachBasicsPortTypeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  146. base(binding, remoteAddress) {
  147. }
  148. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  149. SLSTOffCampusWeb.ABSAMP.getBeachListResponse SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType.getBeachList(SLSTOffCampusWeb.ABSAMP.getBeachListRequest request) {
  150. return base.Channel.getBeachList(request);
  151. }
  152. public string getBeachList(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication) {
  153. SLSTOffCampusWeb.ABSAMP.getBeachListRequest inValue = new SLSTOffCampusWeb.ABSAMP.getBeachListRequest();
  154. inValue.ctAuthentication = ctAuthentication;
  155. SLSTOffCampusWeb.ABSAMP.getBeachListResponse retVal = ((SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType)(this)).getBeachList(inValue);
  156. return retVal.output;
  157. }
  158. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  159. System.Threading.Tasks.Task<SLSTOffCampusWeb.ABSAMP.getBeachListResponse> SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType.getBeachListAsync(SLSTOffCampusWeb.ABSAMP.getBeachListRequest request) {
  160. return base.Channel.getBeachListAsync(request);
  161. }
  162. public System.Threading.Tasks.Task<SLSTOffCampusWeb.ABSAMP.getBeachListResponse> getBeachListAsync(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication) {
  163. SLSTOffCampusWeb.ABSAMP.getBeachListRequest inValue = new SLSTOffCampusWeb.ABSAMP.getBeachListRequest();
  164. inValue.ctAuthentication = ctAuthentication;
  165. return ((SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType)(this)).getBeachListAsync(inValue);
  166. }
  167. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  168. SLSTOffCampusWeb.ABSAMP.getBeachResponse SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType.getBeach(SLSTOffCampusWeb.ABSAMP.getBeachRequest request) {
  169. return base.Channel.getBeach(request);
  170. }
  171. public string getBeach(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication, string beachKey, string beachName) {
  172. SLSTOffCampusWeb.ABSAMP.getBeachRequest inValue = new SLSTOffCampusWeb.ABSAMP.getBeachRequest();
  173. inValue.ctAuthentication = ctAuthentication;
  174. inValue.beachKey = beachKey;
  175. inValue.beachName = beachName;
  176. SLSTOffCampusWeb.ABSAMP.getBeachResponse retVal = ((SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType)(this)).getBeach(inValue);
  177. return retVal.output;
  178. }
  179. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  180. System.Threading.Tasks.Task<SLSTOffCampusWeb.ABSAMP.getBeachResponse> SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType.getBeachAsync(SLSTOffCampusWeb.ABSAMP.getBeachRequest request) {
  181. return base.Channel.getBeachAsync(request);
  182. }
  183. public System.Threading.Tasks.Task<SLSTOffCampusWeb.ABSAMP.getBeachResponse> getBeachAsync(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication, string beachKey, string beachName) {
  184. SLSTOffCampusWeb.ABSAMP.getBeachRequest inValue = new SLSTOffCampusWeb.ABSAMP.getBeachRequest();
  185. inValue.ctAuthentication = ctAuthentication;
  186. inValue.beachKey = beachKey;
  187. inValue.beachName = beachName;
  188. return ((SLSTOffCampusWeb.ABSAMP.BeachBasicsPortType)(this)).getBeachAsync(inValue);
  189. }
  190. }
  191. }