//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.0.3705.0
//
//     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.0.3705.0.
// 
namespace JBoss_Net_Sample.item {
    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="ItemServiceSoapBinding", Namespace="http://localhost/axis/services/ItemService")]
    public class ItemServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public ItemServiceService() {
            this.Url = "http://localhost/axis/services/ItemService";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://localhost/axis/services/ItemService", ResponseNamespace="http://localhost/axis/services/ItemService")]
        public void delete(Item in0) {
            this.Invoke("delete", new object[] {
                        in0});
        }
        
        /// <remarks/>
        public System.IAsyncResult Begindelete(Item in0, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("delete", new object[] {
                        in0}, callback, asyncState);
        }
        
        /// <remarks/>
        public void Enddelete(System.IAsyncResult asyncResult) {
            this.EndInvoke(asyncResult);
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://localhost/axis/services/ItemService", ResponseNamespace="http://localhost/axis/services/ItemService")]
        [return: System.Xml.Serialization.SoapElementAttribute("return")]
        public Item create(string in0) {
            object[] results = this.Invoke("create", new object[] {
                        in0});
            return ((Item)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult Begincreate(string in0, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("create", new object[] {
                        in0}, callback, asyncState);
        }
        
        /// <remarks/>
        public Item Endcreate(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((Item)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://localhost/axis/services/ItemService", ResponseNamespace="http://localhost/axis/services/ItemService")]
        [return: System.Xml.Serialization.SoapElementAttribute("return")]
        public Item[] findAll() {
            object[] results = this.Invoke("findAll", new object[0]);
            return ((Item[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginfindAll(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("findAll", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public Item[] EndfindAll(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((Item[])(results[0]));
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.SoapTypeAttribute("Item", "http://net.jboss.org/samples/store")]
    public class Item {
        
        /// <remarks/>
        public string name;
    }
}
