lpatnaik
Programmer
- Jul 11, 2002
- 53
Hi,
I have developed a webservice with some functions. I have a public class(in the same webservice file but outside the webservice class) called TestDO which has a number of member variables, some of which are integer. In some functions of my webservice, I am sending this TestDO as a parameter so that the client can create an instance of this class and fill in the values for its member variables and call the respective function.
The problem lies in the fact that if the client leaves some of the integer member variables unfilled, these variables default to 0, when I want them to be Null (or a negative value that i set in the constructor of the class - I tried this in the default constructor, but it is not working).
Kindly help Asap.
Lopa
I have developed a webservice with some functions. I have a public class(in the same webservice file but outside the webservice class) called TestDO which has a number of member variables, some of which are integer. In some functions of my webservice, I am sending this TestDO as a parameter so that the client can create an instance of this class and fill in the values for its member variables and call the respective function.
The problem lies in the fact that if the client leaves some of the integer member variables unfilled, these variables default to 0, when I want them to be Null (or a negative value that i set in the constructor of the class - I tried this in the default constructor, but it is not working).
Kindly help Asap.
Lopa