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
Unable to view certain websites internally on several OSx boxes
Why are Win 7 clients dropping connections, event 4634, laggy network, freezing clients
Disable Wireless adapters when Laptops are connected to LAN
Import vs. link
download file with as3
Upgrade PHP to 5.3 version (or 5.2 eventually) on Plesk 9.5.2
how to do selective sorting based on contents of a column
return max for each group
better way to retreive a value for the last entry in a table
How to see the ESXi version