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
Check to see if a table has a certain value, MS Access 2003
SAP books for implementing ERP package
Post image file [Binary Data] using HttpWebRequest fails.
HP PROCURVE 2520 VLAN tagging, for VOIP
Computer doesnt power on...
simple math programming question
Problem with MYSQL_QUERY AN UNION ALL
Move users home folders to new storage partition
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates
Unable to assign a resource to meeting in Outlook 2010