Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Failed to Invoke Web Service

$
0
0

Hi All,
I have create .net 2.0 web service and publish it on my PC. and then I want to invoke in this web service method in my current project.
I have add web service using 'add web references' option.
Than I call specific function (IsValidUser) from web service instance. There's no error on compile time. But when I debug it. It's throw exception.

below function I'm facing error.

[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IsValidUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool IsValidUser(string userName, string password) {
            object[] results = this.Invoke("IsValidUser", new object[] {
                        userName,
                        password});
            return ((bool)(results[0]));
        }

I have already check this Link.
It's urgent, Advance thanks. Shoaib


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>