//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2407
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.2407.
//
namespace DS.WebServices.Calm.XMLWrapper {
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
///
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="ContentServiceSoap", Namespace="http://ds.co.uk/cs/webservices/")]
public class ContentService : System.Web.Services.Protocols.SoapHttpClientProtocol {
///
public ContentService() {
this.Url = "http://localhost/XMLWrapper/ContentService.asmx";
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ds.co.uk/cs/webservices/Search", RequestNamespace="http://ds.co.uk/cs/webservices/", ResponseNamespace="http://ds.co.uk/cs/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Search(string dbname, string elementSet, string expr) {
object[] results = this.Invoke("Search", new object[] {
dbname,
elementSet,
expr});
return ((string)(results[0]));
}
///
public System.IAsyncResult BeginSearch(string dbname, string elementSet, string expr, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Search", new object[] {
dbname,
elementSet,
expr}, callback, asyncState);
}
///
public string EndSearch(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ds.co.uk/cs/webservices/Overview", RequestNamespace="http://ds.co.uk/cs/webservices/", ResponseNamespace="http://ds.co.uk/cs/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Overview(string dbname, string ElementSet, string Elements, System.UInt32 xfrom, System.UInt32 n) {
object[] results = this.Invoke("Overview", new object[] {
dbname,
ElementSet,
Elements,
xfrom,
n});
return ((string)(results[0]));
}
///
public System.IAsyncResult BeginOverview(string dbname, string ElementSet, string Elements, System.UInt32 xfrom, System.UInt32 n, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Overview", new object[] {
dbname,
ElementSet,
Elements,
xfrom,
n}, callback, asyncState);
}
///
public string EndOverview(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ds.co.uk/cs/webservices/SummaryHeader", RequestNamespace="http://ds.co.uk/cs/webservices/", ResponseNamespace="http://ds.co.uk/cs/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string SummaryHeader(string dbname, System.UInt32 HitLstPos) {
object[] results = this.Invoke("SummaryHeader", new object[] {
dbname,
HitLstPos});
return ((string)(results[0]));
}
///
public System.IAsyncResult BeginSummaryHeader(string dbname, System.UInt32 HitLstPos, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SummaryHeader", new object[] {
dbname,
HitLstPos}, callback, asyncState);
}
///
public string EndSummaryHeader(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ds.co.uk/cs/webservices/Sort", RequestNamespace="http://ds.co.uk/cs/webservices/", ResponseNamespace="http://ds.co.uk/cs/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Sort(string dbname, string fields) {
object[] results = this.Invoke("Sort", new object[] {
dbname,
fields});
return ((string)(results[0]));
}
///
public System.IAsyncResult BeginSort(string dbname, string fields, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Sort", new object[] {
dbname,
fields}, callback, asyncState);
}
///
public string EndSort(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ds.co.uk/cs/webservices/Abandon", RequestNamespace="http://ds.co.uk/cs/webservices/", ResponseNamespace="http://ds.co.uk/cs/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void Abandon() {
this.Invoke("Abandon", new object[0]);
}
///
public System.IAsyncResult BeginAbandon(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Abandon", new object[0], callback, asyncState);
}
///
public void EndAbandon(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://ds.co.uk/cs/webservices/GetCachedImage", RequestNamespace="http://ds.co.uk/cs/webservices/", ResponseNamespace="http://ds.co.uk/cs/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public CachedImage GetCachedImage(string dbname, string id, System.UInt32 crc, bool newImage) {
object[] results = this.Invoke("GetCachedImage", new object[] {
dbname,
id,
crc,
newImage});
return ((CachedImage)(results[0]));
}
///
public System.IAsyncResult BeginGetCachedImage(string dbname, string id, System.UInt32 crc, bool newImage, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCachedImage", new object[] {
dbname,
id,
crc,
newImage}, callback, asyncState);
}
///
public CachedImage EndGetCachedImage(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((CachedImage)(results[0]));
}
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ds.co.uk/cs/webservices/")]
public class CachedImage {
///
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public System.Byte[] Data;
///
public System.UInt32 Crc;
///
public string Error;
///
public string MimeType;
}
}