Hello Gav,
Thanks for your post. In web services methods, you can use the MessageName
property to uniquely identify polymorphic methods. Please refer to the
following sample and MSDN documentation:
//-------------------code snippet------------------------
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;
}
}
//-----------------------end of-------------------------
WebMethodAttribute.MessageName Property
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemWebServicesWebMethodAttributeClassMessa geNameTopic.asp
Please feel free to let me know if you have any problems or concerns.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! --
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.