I have a web service like
public void AbcXyz(string unm, string pass, out string status, out string Utype)
{
}
and i have added the reference of this web service to my solution, created a object to this webservice and called the web method like this
srv.AbcXyz(Uname, encryptPswd,out result, out Utype);
Here i am getting an error
"No Overload for method 'AbcXyz' takes '4' arguments"
I really dnt understand why i am getting this error. can someone please help me in this issue..
Regards,
vijayUV
Have you updated your web references?
Are you sure you’re using the most up-to-date version?
What does intellisense show when you start typing “srv.AbcXyz”?
EDIT:
There must be something you’re not updating.
Compile your WS project.
In your WS test calling the culprit method
In the consumer project update your WebReferences.
In the references file browse for the method. Check whether it has the signature you expect.
This ought to work! I’ll wait for your feedback