Associate
- Joined
- 6 Dec 2002
- Posts
- 661
- Location
- Belfast
I use Eclipse for Java development and I have created a 'dummy' web service from a WSDL provided from a 3rd party. This is so we can test our client application. I generated the web service using the Eclipse WTP and this in turn has generated a lot of classes that correspond to the data objects defined in the schema. All member variables of these Java classes have been initialized to null resulting in the inability to test the web service effectively.
My question is, do any of you know a way of quickly generating sample data in these classes? For example, one of the member variables is priceOfLand and I would like this initialised to 123.45.
I hope you understand what I'm on about here, and any help would be very much appreciated.
My question is, do any of you know a way of quickly generating sample data in these classes? For example, one of the member variables is priceOfLand and I would like this initialised to 123.45.
I hope you understand what I'm on about here, and any help would be very much appreciated.