N
ndrw_cheung
Hi, all. I have a created a web service with a web method that returns
a boolean (bool) value.
[WebMethod]
public bool IsUser(String username)
{
....
}
When I tested it on the local server using the .asmx page, it returns
the appropriate value depending on the parameter passed in. However,
when I created some code to consume the web service and invokes the
web method, it always returns false regardless.
The webservice and the page that consumes it are running under .NET
2.0.
Any ideas why that's happening? How do I fix it?
Thanks in advance for your help.
-Andrew
a boolean (bool) value.
[WebMethod]
public bool IsUser(String username)
{
....
}
When I tested it on the local server using the .asmx page, it returns
the appropriate value depending on the parameter passed in. However,
when I created some code to consume the web service and invokes the
web method, it always returns false regardless.
The webservice and the page that consumes it are running under .NET
2.0.
Any ideas why that's happening? How do I fix it?
Thanks in advance for your help.
-Andrew