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
capture value of checked items in checklistbox
WMIC Get Make, Model and Serial Number
Session Timeout during Session
Mount CD on ESXI 4
How can I "cad-cam" an entire car body into fiberglass ?
Help with asa log
Error "Cannot Quit Visual FoxPro" when closing form with embedded OLE MapPoint control
how do i stop a java code?
get 550 5.7.1. Unable to relay for specific domains....
Active Sync won't work over 3G