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
This search script is presenting the option for Next 10 when there aren't any results. What do I need to add to not show when there aren't results?
Internet Explorer - Links redirecting to strange sites
Trying to connect SSIS packages to Oracle database
sendAndLoad onHTTPStatus issue
Delphi Read huge files into an ansistring chunks
RHEL command to see how much ram and hard drive in the box
Shell script to queue commands
Repair Install of Windows XP I get message The File 'ASMS' on Windows CD Needed
Current Logged In User
Delete blank line from textarea