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
|
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a ‚t‚ g‚n‚r‚ par un outil.
// Version du runtime :2.0.50727.42
//
// Les modifications apport‚es … ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code est r‚g‚n‚r‚.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
//
// Ce code source a ‚t‚ automatiquement g‚n‚r‚ par wsdl, Version=2.0.50727.42.
//
///<remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="TESTTESTBinding", Namespace="http://127.0.0.1/v2")]
publicpartialclassTEST : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback TEST_ITOperationCompleted;
///<remarks/>
public TEST() {
this.Url = "http://127.0.0.1/v2";
}
///<remarks/>
publiceventTEST_ITCompletedEventHandler TEST_ITCompleted;
///<remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
[return: System.Xml.Serialization.XmlElementAttribute("TEST_ITResponse", Namespace="http://127.0.0.1/soap_test.xsd")]
publicstring TEST_IT([System.Xml.Serialization.XmlElementAttribute(Namespace="http://127.0.0.1/soap_test.xsd")] string TEST_ITRequest) {
object[] results = this.Invoke("TEST_IT", newobject[] {
TEST_ITRequest});
return ((string)(results[0]));
}
///<remarks/>
public System.IAsyncResult BeginTEST_IT(string TEST_ITRequest, System.AsyncCallback callback, object asyncState) {
returnthis.BeginInvoke("TEST_IT", newobject[] {
TEST_ITRequest}, callback, asyncState);
}
///<remarks/>
publicstring EndTEST_IT(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
///<remarks/>
publicvoid TEST_ITAsync(string TEST_ITRequest) {
this.TEST_ITAsync(TEST_ITRequest, null);
}
///<remarks/>
publicvoid TEST_ITAsync(string TEST_ITRequest, object userState) {
if ((this.TEST_ITOperationCompleted == null)) {
this.TEST_ITOperationCompleted = new System.Threading.SendOrPostCallback(this.OnTEST_ITOperationCompleted);
}
this.InvokeAsync("TEST_IT", newobject[] {
TEST_ITRequest}, this.TEST_ITOperationCompleted, userState);
}
privatevoid OnTEST_ITOperationCompleted(object arg) {
if ((this.TEST_ITCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.TEST_ITCompleted(this, newTEST_ITCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///<remarks/>
publicnewvoid CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
///<remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
publicdelegatevoidTEST_ITCompletedEventHandler(object sender, TEST_ITCompletedEventArgs e);
///<remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
publicpartialclassTEST_ITCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
privateobject[] results;
internal TEST_ITCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///<remarks/>
publicstring Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
|
Partager