Skip to content

Instantly share code, notes, and snippets.

/Reference.cs Secret

Created April 15, 2014 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ae9a42fb146b159a4ccd to your computer and use it in GitHub Desktop.
Save anonymous/ae9a42fb146b159a4ccd to your computer and use it in GitHub Desktop.
TestWebService generated file
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18408
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WindowsFormsApplication4.ServiceReference {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://ws.kontrol.aiko.com/", ConfigurationName="ServiceReference.TestWebService")]
public interface TestWebService {
// CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
WindowsFormsApplication4.ServiceReference.getAnimalsResponse getAnimals(WindowsFormsApplication4.ServiceReference.getAnimals request);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
System.Threading.Tasks.Task<WindowsFormsApplication4.ServiceReference.getAnimalsResponse> getAnimalsAsync(WindowsFormsApplication4.ServiceReference.getAnimals request);
// CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayAttribute'.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
WindowsFormsApplication4.ServiceReference.getVehiclesResponse getVehicles(WindowsFormsApplication4.ServiceReference.getVehicles request);
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
System.Threading.Tasks.Task<WindowsFormsApplication4.ServiceReference.getVehiclesResponse> getVehiclesAsync(WindowsFormsApplication4.ServiceReference.getVehicles request);
}
/// <remarks/>
[System.Xml.Serialization.XmlIncludeAttribute(typeof(Dog))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ws.kontrol.aiko.com/")]
public partial class Animal : object, System.ComponentModel.INotifyPropertyChanged {
private string animalPropField;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string AnimalProp {
get {
return this.animalPropField;
}
set {
this.animalPropField = value;
this.RaisePropertyChanged("AnimalProp");
}
}
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));
}
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIncludeAttribute(typeof(Car))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ws.kontrol.aiko.com/")]
public partial class Vehicle : object, System.ComponentModel.INotifyPropertyChanged {
private string vechiclePropField;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string VechicleProp {
get {
return this.vechiclePropField;
}
set {
this.vechiclePropField = value;
this.RaisePropertyChanged("VechicleProp");
}
}
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));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ws.kontrol.aiko.com/")]
public partial class Car : Vehicle {
private string carPropField;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string CarProp {
get {
return this.carPropField;
}
set {
this.carPropField = value;
this.RaisePropertyChanged("CarProp");
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ws.kontrol.aiko.com/")]
public partial class Dog : Animal {
private string dogPropField;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string DogProp {
get {
return this.dogPropField;
}
set {
this.dogPropField = value;
this.RaisePropertyChanged("DogProp");
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="getAnimals", WrapperNamespace="http://ws.kontrol.aiko.com/", IsWrapped=true)]
public partial class getAnimals {
public getAnimals() {
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="getAnimalsResponse", WrapperNamespace="http://ws.kontrol.aiko.com/", IsWrapped=true)]
public partial class getAnimalsResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
[System.Xml.Serialization.XmlArrayAttribute()]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public WindowsFormsApplication4.ServiceReference.Animal[] @return;
public getAnimalsResponse() {
}
public getAnimalsResponse(WindowsFormsApplication4.ServiceReference.Animal[] @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="getVehicles", WrapperNamespace="http://ws.kontrol.aiko.com/", IsWrapped=true)]
public partial class getVehicles {
public getVehicles() {
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="getVehiclesResponse", WrapperNamespace="http://ws.kontrol.aiko.com/", IsWrapped=true)]
public partial class getVehiclesResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
[System.Xml.Serialization.XmlArrayAttribute()]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public WindowsFormsApplication4.ServiceReference.Vehicle[] @return;
public getVehiclesResponse() {
}
public getVehiclesResponse(WindowsFormsApplication4.ServiceReference.Vehicle[] @return) {
this.@return = @return;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface TestWebServiceChannel : WindowsFormsApplication4.ServiceReference.TestWebService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class TestWebServiceClient : System.ServiceModel.ClientBase<WindowsFormsApplication4.ServiceReference.TestWebService>, WindowsFormsApplication4.ServiceReference.TestWebService {
public TestWebServiceClient() {
}
public TestWebServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public TestWebServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public TestWebServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public TestWebServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
WindowsFormsApplication4.ServiceReference.getAnimalsResponse WindowsFormsApplication4.ServiceReference.TestWebService.getAnimals(WindowsFormsApplication4.ServiceReference.getAnimals request) {
return base.Channel.getAnimals(request);
}
public WindowsFormsApplication4.ServiceReference.Animal[] getAnimals() {
WindowsFormsApplication4.ServiceReference.getAnimals inValue = new WindowsFormsApplication4.ServiceReference.getAnimals();
WindowsFormsApplication4.ServiceReference.getAnimalsResponse retVal = ((WindowsFormsApplication4.ServiceReference.TestWebService)(this)).getAnimals(inValue);
return retVal.@return;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.Threading.Tasks.Task<WindowsFormsApplication4.ServiceReference.getAnimalsResponse> WindowsFormsApplication4.ServiceReference.TestWebService.getAnimalsAsync(WindowsFormsApplication4.ServiceReference.getAnimals request) {
return base.Channel.getAnimalsAsync(request);
}
public System.Threading.Tasks.Task<WindowsFormsApplication4.ServiceReference.getAnimalsResponse> getAnimalsAsync() {
WindowsFormsApplication4.ServiceReference.getAnimals inValue = new WindowsFormsApplication4.ServiceReference.getAnimals();
return ((WindowsFormsApplication4.ServiceReference.TestWebService)(this)).getAnimalsAsync(inValue);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
WindowsFormsApplication4.ServiceReference.getVehiclesResponse WindowsFormsApplication4.ServiceReference.TestWebService.getVehicles(WindowsFormsApplication4.ServiceReference.getVehicles request) {
return base.Channel.getVehicles(request);
}
public WindowsFormsApplication4.ServiceReference.Vehicle[] getVehicles() {
WindowsFormsApplication4.ServiceReference.getVehicles inValue = new WindowsFormsApplication4.ServiceReference.getVehicles();
WindowsFormsApplication4.ServiceReference.getVehiclesResponse retVal = ((WindowsFormsApplication4.ServiceReference.TestWebService)(this)).getVehicles(inValue);
return retVal.@return;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.Threading.Tasks.Task<WindowsFormsApplication4.ServiceReference.getVehiclesResponse> WindowsFormsApplication4.ServiceReference.TestWebService.getVehiclesAsync(WindowsFormsApplication4.ServiceReference.getVehicles request) {
return base.Channel.getVehiclesAsync(request);
}
public System.Threading.Tasks.Task<WindowsFormsApplication4.ServiceReference.getVehiclesResponse> getVehiclesAsync() {
WindowsFormsApplication4.ServiceReference.getVehicles inValue = new WindowsFormsApplication4.ServiceReference.getVehicles();
return ((WindowsFormsApplication4.ServiceReference.TestWebService)(this)).getVehiclesAsync(inValue);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment