views:

27

answers:

2

I have two web methods which I wish to overload:

<WebMethod()> _
Public Function GetProject(ByVal id As Int32) As Project

<WebMethod(MessageName:="GetProjects")> _
Public Function GetProject(ByVal filter As String) As Projects

I read about overloading using MessageName, however I cannot get this to work. Is this possible?

A: 

Yes, it should be possible. Hope this link will help: http://forums.asp.net/t/1162934.aspx

AlexNS
A: 

I'm going to say this is not possible.

Brett