none
SoapServiceClient Code

    Question

  • I am looking for some reference information about the ServiceSoapClient code shown below:

     

    using ServiceReference1;

     

    public partial class _Default : System.Web.UI.Page

    {

    protected void Page_Load(object sender, EventArgs e)

    {

    ServiceSoapClient service = new ServiceSoapClient();

    Label1.Text = service.HelloWorld();

    }

    }

    Thursday, June 05, 2008 1:31 PM

All replies

  • I am surprised Microsoft isn't offering more documentation about using ServiceSoapClient with web services.

    Thursday, June 05, 2008 6:08 PM
  • Hi RayEverest,

     The SaopServiceClient you refer to is probably a generated client proxy - and the name is given by the service name + Client.
     (I.e. you won't find anything on MSDN about ServiceSoapClient (or FoobarSoapClient for that matter)).
     All basic request/response client proxies (generated by svcutil.exe og by "Add service reference..." derive from System.ServiceModel.ClientBase<T> ( http://msdn.microsoft.com/en-us/library/ms576141.aspx )

     Good luck,

     --larsw
    Thursday, June 05, 2008 7:35 PM
    Moderator