Click here to Skip to main content
15,885,915 members
Articles / Programming Languages / C#

hello, world - A primitive view of the state of the art

Rate me:
Please Sign up or sign in to vote.
4.85/5 (53 votes)
30 Apr 2004BSD22 min read 158.4K   1.1K   83  
A revival of the CLI for .NET development.
//------------------------------------------------------------------------------
// <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.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Instructor / Trainer Tarleton State University
United States United States
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.

Comments and Discussions