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
emc cx600 - how do I get dell 64 bit server to see the emc harddrives
How to pause a process execution in C++
A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
In Latex, how do I change the format of automatic equation numbering?
PHP, ASP, Moneris
Oracle Error "To many precesion Specifiers"
Stringtopostnet function not working in Crystal viewer 2008 ---
outlook folder import macro
Blackberry Enterprise Express on Exchange 2007 Can't resolve name during MAPI Profile Setup
RSH client for windows 2008 r2