« New book for mobile software development | Main | mjberger.com email problems »
February 15, 2005
Overloaded Web Service Methods
I was a bit baffeled when I was told that you couldn't overload methods in a web service. Did a little googling and found that you actually can (sort of). Using the WebMethod attribute MethodName you specify a unique name but the actual name of the method in the C# code is exactly the same. This means that the WSDL defines each method as unique but that when using it from your C# code they are all overloaded methods with the same name.
Posted by mikel at February 15, 2005 06:36 PM
Trackback Pings
TrackBack URL for this entry:
http://WWW.mjberger.COM/cgi-bin/mt-tb.cgi/119
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)