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
create bootable usb device with multiple OS's to choose from for installation
Error:Operating system error code 3(The system cannot find the path specified.) doing BulkInser in a SQL Query
How to figure out input value passed via XML
clear cut - sql express 2008 connection limit
vb 6.0 version number
MacBook Stuck on Shut-Down
Anomaly with MSAccess running as scheduled task calling MSProject
Fully Automatic dental milling machines
Error: "The site <sitename> could not be found in the Web application SPWebApplication Name=MOSS Parent=SPWebService"
Vbscript PDF Metadata for SharePoint 2010