D
DC Gringo
I have a simple function within a web method. It works fine with one
parameter, but gives me a compile error when I try to add a second:
"Too many arguments to 'Public Function FewsArticles(OrgID As String) As
String'."
Here's the client calling code:
Dim sFeed As String = oWs.FewsArticles(OrgID, FeedType)
Here's the web service code:
<WebMethod()> _
Public Function FewsArticles(ByVal OrgID As String, ByVal FeedType As
String) As String
_____
DC G
parameter, but gives me a compile error when I try to add a second:
"Too many arguments to 'Public Function FewsArticles(OrgID As String) As
String'."
Here's the client calling code:
Dim sFeed As String = oWs.FewsArticles(OrgID, FeedType)
Here's the web service code:
<WebMethod()> _
Public Function FewsArticles(ByVal OrgID As String, ByVal FeedType As
String) As String
_____
DC G