Author: h_shirazee | Posted on: 2/20/2010 4:16:08 PM | Views : 903

hello to all
I have a simple web-service and want to invoke it from a client. this service has a parameter but when I invoke it from client and send to it a parameter , in server side service run successfully but always parameter has no value and is null ( depend on parameter's type ex if it's string , value will be string and if it's int , value will be zero )
here is server and client code : 

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Xml.Serialization; using System.Web.Services.Protocols; using System.ComponentModel; using System.Web.Services; using MasterCSharp.WebServices; using Consumer3.ServiceReference1; using System.Data; using System.IO; /// <remarks/> namespace ServiceAndConsumer { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute(&qu ...

Go to the complete details ...