Hi.
I created a web service with two overloaded methods, and used the
MessageName attribute to differentiate them:
<WebMethod(MessageName:="GetItemString")> _
Public Function GetItem(ByVal localItem As String) As String
End Function
<WebMethod(MessageName:="GetItemInteger")> _
Public Function GetItem(ByVal localItem As Integer) As String
End Function
In my client application I add a web reference to the web service, and
vs.net creates a proxy for me. When I create an instance of the proxy
class, my methods appear as GetItem and GetItem1, and that's my doubt.
Why GetItem1? Shouldn't the methods be named GetItemString and
GetItemInteger?
Regards,
Chris Leffer
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!