//------------------------------------------------------------------------------
// <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 Microsoft.VSDesigner, Version 1.1.4322.573.
//
namespace ForestPadUtilities.ForestPadService {
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="ForestPadServiceSoap", Namespace="http://tempuri.org/")]
public class ForestPadService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public ForestPadService() {
this.Url = "http://work/forestPadService/forestpadservice.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IsUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool IsUser(string Username, string Password) {
object[] results = this.Invoke("IsUser", new object[] {
Username,
Password});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginIsUser(string Username, string Password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("IsUser", new object[] {
Username,
Password}, callback, asyncState);
}
/// <remarks/>
public bool EndIsUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetRemoteFileList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet GetRemoteFileList(string Username, string Password) {
object[] results = this.Invoke("GetRemoteFileList", new object[] {
Username,
Password});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetRemoteFileList(string Username, string Password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetRemoteFileList", new object[] {
Username,
Password}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetRemoteFileList(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetRemoteDirectory", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetRemoteDirectory(string Username, string Password) {
object[] results = this.Invoke("GetRemoteDirectory", new object[] {
Username,
Password});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetRemoteDirectory(string Username, string Password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetRemoteDirectory", new object[] {
Username,
Password}, callback, asyncState);
}
/// <remarks/>
public string EndGetRemoteDirectory(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/OpenFileFromServer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string OpenFileFromServer(string Filename, string Username, string Password) {
object[] results = this.Invoke("OpenFileFromServer", new object[] {
Filename,
Username,
Password});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginOpenFileFromServer(string Filename, string Username, string Password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("OpenFileFromServer", new object[] {
Filename,
Username,
Password}, callback, asyncState);
}
/// <remarks/>
public string EndOpenFileFromServer(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SaveFileToServer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool SaveFileToServer(string Filename, string FileContents, string Username, string Password) {
object[] results = this.Invoke("SaveFileToServer", new object[] {
Filename,
FileContents,
Username,
Password});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSaveFileToServer(string Filename, string FileContents, string Username, string Password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SaveFileToServer", new object[] {
Filename,
FileContents,
Username,
Password}, callback, asyncState);
}
/// <remarks/>
public bool EndSaveFileToServer(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
}
}