Microsoft
Software
Hardware
Network
Question : Are there any issues to be aware of with method overloading when using Web Services?
I have an existing web service written in .NET with the following method signature
object MyMethod(string param1, string param2, IList param3);
I'd like to be able to also offer an overloaded method of
object MyMethod(string param1, object param2);
Are there any issues in doing this? Could I mark the first as deprecated ?
Answer : Are there any issues to be aware of with method overloading when using Web Services?
WebMethods should be distinct. However, if you want them have the same name, you can use the MessageName attribute:
http://www.dotne
tspider.co
m/resource
s/20655-Ho
w-do-Metho
d-
overload
ing-WebMet
hods-using
-C.aspx
Aru
n
Random Solutions
How to request previous month's records in my sql's where clause?
I'll bet you can't pass this test about how Windows 7 explorer sorts directories by date?
How to convert non ansi outer join =* to ansi outer join
Windows XP - Shutdown Causes Restart
bootable usb
C++ permutation with replacement algorithm
Exchange 2007 - Delivery is delayed to these recipients or distribution lists:
Queries inside a while loop
Capture Linkbutton click event in Master page from Content page
Email keeps going into Junk Mail Folder in Outlook 2003 on Exchange 2003