Dears:
I´m using a web services with the webmethod below
[WebMethod]
public Client[] GetData(int Val) {
.....
}
On the page for GetData WebMethod, I decide not to type any value for the Val field and when I 'Invoke' the Web Services I receive this: System.ArgumentException: Cannot convert to System.Int32. Parameter name: type ---> System.FormatException: Input string was not in a correct format.....
What´s the best solutions for null values in the int parameters?
I´m using a web services with the webmethod below
[WebMethod]
public Client[] GetData(int Val) {
.....
}
On the page for GetData WebMethod, I decide not to type any value for the Val field and when I 'Invoke' the Web Services I receive this: System.ArgumentException: Cannot convert to System.Int32. Parameter name: type ---> System.FormatException: Input string was not in a correct format.....
What´s the best solutions for null values in the int parameters?