Exemplo n.º 1
0
 public System.IAsyncResult BeginGetWeather(webClientTestForm.WebServiceSample.GetWeatherRequest req, System.AsyncCallback callback, object asyncState)
 {
     webClientTestForm.WebServiceSample.GetWeatherRequest1 inValue = new webClientTestForm.WebServiceSample.GetWeatherRequest1();
     inValue.Body     = new webClientTestForm.WebServiceSample.GetWeatherRequest1Body();
     inValue.Body.req = req;
     return(((webClientTestForm.WebServiceSample.WebService1Soap)(this)).BeginGetWeather(inValue, callback, asyncState));
 }
Exemplo n.º 2
0
 public webClientTestForm.WebServiceSample.GetWeatherRespose GetWeather(webClientTestForm.WebServiceSample.GetWeatherRequest req)
 {
     webClientTestForm.WebServiceSample.GetWeatherRequest1 inValue = new webClientTestForm.WebServiceSample.GetWeatherRequest1();
     inValue.Body     = new webClientTestForm.WebServiceSample.GetWeatherRequest1Body();
     inValue.Body.req = req;
     webClientTestForm.WebServiceSample.GetWeatherResponse retVal = ((webClientTestForm.WebServiceSample.WebService1Soap)(this)).GetWeather(inValue);
     return(retVal.Body.GetWeatherResult);
 }
Exemplo n.º 3
0
 public void GetWeatherAsync(webClientTestForm.WebServiceSample.GetWeatherRequest req, object userState)
 {
     if ((this.onBeginGetWeatherDelegate == null))
     {
         this.onBeginGetWeatherDelegate = new BeginOperationDelegate(this.OnBeginGetWeather);
     }
     if ((this.onEndGetWeatherDelegate == null))
     {
         this.onEndGetWeatherDelegate = new EndOperationDelegate(this.OnEndGetWeather);
     }
     if ((this.onGetWeatherCompletedDelegate == null))
     {
         this.onGetWeatherCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetWeatherCompleted);
     }
     base.InvokeAsync(this.onBeginGetWeatherDelegate, new object[] {
         req
     }, this.onEndGetWeatherDelegate, this.onGetWeatherCompletedDelegate, userState);
 }
Exemplo n.º 4
0
 public void GetWeatherAsync(webClientTestForm.WebServiceSample.GetWeatherRequest req)
 {
     this.GetWeatherAsync(req, null);
 }
Exemplo n.º 5
0
 private System.IAsyncResult OnBeginGetWeather(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     webClientTestForm.WebServiceSample.GetWeatherRequest req = ((webClientTestForm.WebServiceSample.GetWeatherRequest)(inValues[0]));
     return(this.BeginGetWeather(req, callback, asyncState));
 }
Exemplo n.º 6
0
 public GetWeatherRequest1Body(webClientTestForm.WebServiceSample.GetWeatherRequest req)
 {
     this.req = req;
 }