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
paypal integration in asp.net /VB
Webrequest POST
How to connect to Oracle 11g as "SYS" from PB
Install Ruby Gems through a Firewall?
exchange 2003 and ISA 2006 certificate renew - RPC-HTTPS not working
Windows Authentication with User and Roles management in SQL Server
Rate my system
msoutlook 2007 data file do not compress
how to add decimal place in formula in seagate crystal report
Meta redirect question