//------------------------------------------------------------------------------
// <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 DasBlogNewsGatorPlugin.DasBlog{
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="EditServiceSoap", Namespace="urn:schemas-newtelligence-com:dasblog:edit-services")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(EntryBase))]
public class EditService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public EditService() {
this.Url = "http://localhost/DasBlog/EditService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:schemas-newtelligence-com:dasblog:edit-services/CanEdit", RequestNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", ResponseNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool CanEdit(string username, string password) {
object[] results = this.Invoke("CanEdit", new object[] {
username,
password});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginCanEdit(string username, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CanEdit", new object[] {
username,
password}, callback, asyncState);
}
/// <remarks/>
public bool EndCanEdit(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:schemas-newtelligence-com:dasblog:edit-services/DeleteEntry", RequestNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", ResponseNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void DeleteEntry(string entryId, string username, string password) {
this.Invoke("DeleteEntry", new object[] {
entryId,
username,
password});
}
/// <remarks/>
public System.IAsyncResult BeginDeleteEntry(string entryId, string username, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteEntry", new object[] {
entryId,
username,
password}, callback, asyncState);
}
/// <remarks/>
public void EndDeleteEntry(System.IAsyncResult asyncResult) {
this.EndInvoke(asyncResult);
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:schemas-newtelligence-com:dasblog:edit-services/UpdateEntry", RequestNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", ResponseNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string UpdateEntry([System.Xml.Serialization.XmlElementAttribute(Namespace="urn:newtelligence-com:dasblog:runtime:data", IsNullable=true)] Entry entry, string username, string password) {
object[] results = this.Invoke("UpdateEntry", new object[] {
entry,
username,
password});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginUpdateEntry(Entry entry, string username, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UpdateEntry", new object[] {
entry,
username,
password}, callback, asyncState);
}
/// <remarks/>
public string EndUpdateEntry(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:schemas-newtelligence-com:dasblog:edit-services/CreateEntry", RequestNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", ResponseNamespace="urn:schemas-newtelligence-com:dasblog:edit-services", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string CreateEntry([System.Xml.Serialization.XmlElementAttribute(Namespace="urn:newtelligence-com:dasblog:runtime:data", IsNullable=true)] Entry entry, string username, string password) {
object[] results = this.Invoke("CreateEntry", new object[] {
entry,
username,
password});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginCreateEntry(Entry entry, string username, string password, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateEntry", new object[] {
entry,
username,
password}, callback, asyncState);
}
/// <remarks/>
public string EndCreateEntry(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:newtelligence-com:dasblog:runtime:data")]
public class Entry : EntryBase {
/// <remarks/>
[System.Xml.Serialization.XmlAnyElementAttribute()]
public System.Xml.XmlElement[] Any;
/// <remarks/>
public string Description;
/// <remarks/>
public string Title;
/// <remarks/>
public string Categories;
/// <remarks/>
public bool IsPublic;
/// <remarks/>
public bool ShowOnFrontPage;
/// <remarks/>
public Crosspost[] Crossposts;
/// <remarks/>
[System.Xml.Serialization.XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr;
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:newtelligence-com:dasblog:runtime:data")]
public class Crosspost {
/// <remarks/>
public string ProfileName;
/// <remarks/>
public string TargetEntryId;
/// <remarks/>
public string Categories;
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:newtelligence-com:dasblog:runtime:data")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(Entry))]
public class EntryBase {
/// <remarks/>
public string Content;
/// <remarks/>
public System.DateTime Created;
/// <remarks/>
public System.DateTime Modified;
/// <remarks/>
public string EntryId;
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://www.w3.org/XML/1998/namespace")]
public string lang;
}
}
|