- article_src.zip
- src
- 01-HelloConsole
- 02-HelloFile
- 03-HelloBrowser
- 04-HelloWebService
- 05-HelloWebServiceClient
|
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by wsdl, Version=1.1.4322.573.
//
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="HelloWebServiceSoap", Namespace="http://sentech.com")]
public class HelloWebService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public HelloWebService() {
this.Url = "http://localhost/HelloWS/HelloWebService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://sentech.com/SayHelloWorld", RequestNamespace="http://sentech.com", ResponseNamespace="http://sentech.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string SayHelloWorld() {
object[] results = this.Invoke("SayHelloWorld", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSayHelloWorld(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SayHelloWorld", new object[0], callback, asyncState);
}
/// <remarks/>
public string EndSayHelloWorld(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Will Currently serves as Assistant Professor of Computer Information Systems. Previously he led research, development and product delivery efforts on a global scale. He has a long career as a software architect and developer and enjoys programming in any language on any platform for any good purpose.