john, yes you can but you need to specify the MessageName attribute though
as an alias for the WSDL. Here's an example.
<%@ WebService Language="C#" Class="Calculator" %>
using System;
using System.Web.Services;
public class Calculator : WebService {
// The MessageName property defaults to Add for this XML Web service
method.
[WebMethod]
public int Add(int i, int j) {
return i + j;
}
[WebMethod(MessageName="Add2")]
public int Add(int i, int j, int k) {
return i + j + k;
}
}
--
Greg Ewing [MVP]
http://www.citidc.com
"john bailo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Can a web method be overloaded?
>
> To support varying numbers of input parameters?
>
>
>