c# - Web Reference is not updated after changed and update a web method -
i've got web method in asmx web service in vs 2012 takes single int parameter:
[webmethod] public string filterdata(int a) { // ... code here }
after add new parameter method:
[webmethod] public string filterdata(int a, int b) { // ... code here }
i cannot invoke filterdata 2 parameters, 1 parameter. try re-add reference , recreate web service file, had not solution solve problem. hope in help.. all!
to update web reference proxy class, follow instruction in msdn article: https://msdn.microsoft.com/en-us/library/tf3b21x2.aspx
it's simple point-and-click operation in visual studio. ide regenerate proxy class code you.
Comments
Post a Comment