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
A_POLICY_VIOLATED_FILE_WAS
_DETECTED_
AND_REMOVE
D
Open file Security Message
which is the best editor for oracle ?
XP refuses to boot after OS boot order changes were made using EasyBCD
Screen Saver Group Policy make different for user groups
get wrong autodiscover server in warning message....
Importing Custom Exchange Public Folder Data into Access 2007 table
How to use the processing core library to create a PIMAGE in Java Netbeans?
how to change a textbox from a combobox
an error every 5 minutes on exchange 2007 Event ID 10016