1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
|
namespace WebSocietaireWS
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.1")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:soap-fault:details")]
public partial class FaultDetail
{
private string errorMessageField;
private string requestIDField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
public string errorMessage
{
get
{
return this.errorMessageField;
}
set
{
this.errorMessageField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
public string requestID
{
get
{
return this.requestIDField;
}
set
{
this.requestIDField = value;
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.1")]
[System.ServiceModel.ServiceContractAttribute(Namespace="************", ConfigurationName="WebSocietaireWS.webSocietaireObj")]
public interface webSocietaireObj
{
// CODEGEN*: Génération du contrat de message dans la mesure où l'opération compte plusieurs valeurs retournées.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.FaultContractAttribute(typeof(WebSocietaireWS.FaultDetail), Action="", Name="FaultDetail", Namespace="urn:soap-fault:details")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
System.Threading.Tasks.Task<WebSocietaireWS.authentifierResponse> authentifierAsync(WebSocietaireWS.authentifierRequest request);
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.1")]
[System.ServiceModel.MessageContractAttribute(WrapperName="authentifier", WrapperNamespace="****************", IsWrapped=true)]
public partial class authentifierRequest
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="***************", Order=0)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string keyId;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="********************", Order=1)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string codeSocietaire;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="**********************", Order=2)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string motDePasse;
public authentifierRequest()
{
}
public authentifierRequest(string keyId, string codeSocietaire, string motDePasse)
{
this.keyId = keyId;
this.codeSocietaire = codeSocietaire;
this.motDePasse = motDePasse;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.1")]
[System.ServiceModel.MessageContractAttribute(WrapperName="authentifierResponse", WrapperNamespace="***********************", IsWrapped=true)]
public partial class authentifierResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="**************************", Order=0)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string result;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="*************", Order=1)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public System.Nullable<int> codeInfo;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="***************", Order=2)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public System.Nullable<System.DateTime> derniereModif;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="*******************", Order=3)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string email;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="***************", Order=4)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string sigle;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="*****************", Order=5)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string nom;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="********************", Order=6)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public System.Nullable<bool> quittanceVisible;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="**********************", Order=7)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string telIdent;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="******************", Order=8)]
[System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
[System.Xml.Serialization.XmlArrayItemAttribute("listeSocietRow", IsNullable=false)]
public WebSocietaireWS.authentifier_listeSocietRow[] listeSociet;
public authentifierResponse()
{
}
public authentifierResponse(string result, System.Nullable<int> codeInfo, System.Nullable<System.DateTime> derniereModif, string email, string sigle, string nom, System.Nullable<bool> quittanceVisible, string telIdent, WebSocietaireWS.authentifier_listeSocietRow[] listeSociet)
{
this.result = result;
this.codeInfo = codeInfo;
this.derniereModif = derniereModif;
this.email = email;
this.sigle = sigle;
this.nom = nom;
this.quittanceVisible = quittanceVisible;
this.telIdent = telIdent;
this.listeSociet = listeSociet;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.1")]
public interface webSocietaireObjChannel : WebSocietaireWS.webSocietaireObj, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.1")]
public partial class webSocietaireObjClient : System.ServiceModel.ClientBase<WebSocietaireWS.webSocietaireObj>, WebSocietaireWS.webSocietaireObj
{
/// <summary>
/// Implémentez cette méthode partielle pour configurer le point de terminaison de service.
/// </summary>
/// <param name="serviceEndpoint">Point de terminaison à configurer</param>
/// <param name="clientCredentials">Informations d'identification du client</param>
static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
public webSocietaireObjClient() :
base(webSocietaireObjClient.GetDefaultBinding(), webSocietaireObjClient.GetDefaultEndpointAddress())
{
this.Endpoint.Name = EndpointConfiguration.webSocietaireObj.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
}
public webSocietaireObjClient(EndpointConfiguration endpointConfiguration) :
base(webSocietaireObjClient.GetBindingForEndpoint(endpointConfiguration), webSocietaireObjClient.GetEndpointAddress(endpointConfiguration))
{
this.Endpoint.Name = endpointConfiguration.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
}
public webSocietaireObjClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
base(webSocietaireObjClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
{
this.Endpoint.Name = endpointConfiguration.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
}
public webSocietaireObjClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
base(webSocietaireObjClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
{
this.Endpoint.Name = endpointConfiguration.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
}
public webSocietaireObjClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public System.Threading.Tasks.Task<WebSocietaireWS.authentifierResponse> authentifierAsync(WebSocietaireWS.authentifierRequest request)
{
return base.Channel.authentifierAsync(request);
}
public virtual System.Threading.Tasks.Task OpenAsync()
{
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
}
public virtual System.Threading.Tasks.Task CloseAsync()
{
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
}
private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
{
if ((endpointConfiguration == EndpointConfiguration.webSocietaireObj))
{
System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
result.MaxBufferSize = int.MaxValue;
result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
result.MaxReceivedMessageSize = int.MaxValue;
result.AllowCookies = true;
return result;
}
throw new System.InvalidOperationException(string.Format("Le point de terminaison nommé \'{0}\' est introuvable.", endpointConfiguration));
}
private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
{
if ((endpointConfiguration == EndpointConfiguration.webSocietaireObj))
{
return new System.ServiceModel.EndpointAddress("**********************");
}
throw new System.InvalidOperationException(string.Format("Le point de terminaison nommé \'{0}\' est introuvable.", endpointConfiguration));
}
private static System.ServiceModel.Channels.Binding GetDefaultBinding()
{
return webSocietaireObjClient.GetBindingForEndpoint(EndpointConfiguration.webSocietaireObj);
}
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
{
return webSocietaireObjClient.GetEndpointAddress(EndpointConfiguration.webSocietaireObj);
}
public enum EndpointConfiguration
{
webSocietaireObj,
}
}
} |
Partager