[soapExtensionAttribute] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://xxx.yyy.zzz.com/WebServiceMethod", RequestNamespace = "http://xxx.yyy.zzz.com", ResponseNamespace = "http://xxx.yyy.zzz.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void CallItAsync(string params, object userState) { if ((this.OperationCompleted == null)) { this.OperationCompleted= new System.Threading.SendOrPostCallback(this.OnOperationCompleted); } this.InvokeAsync("NameOfMethod", new object[] { params}, this.OperationCompleted, userState); } [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://xxx.yyy.zzz.com/WebServiceMethod", RequestNamespace = "http://xxx.yyy.zzz.com", ResponseNamespace = "http://xxx.yyy.zzz.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] [soapExtensionAttribute] public string JustiCallIt(string params) { object[] results = this.Invoke("NameOfMethod", new object[] { params}); return ((string)(results[0])); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)