Skip to Content
Former Member
Oct 17, 2006 at 04:03 AM

problem in retrieving the model content



i am using the webservice as a model in my application. In the database table i have nearly 100 fields, for this i have written a CRUD's in EJB and make it available through the webservices. Now i am using this webservices in the webdynpro. while retrieving the date from table through webservice a problem occured. If any one of the field is null then an exception is raised i,e null pointer exception. i solved this by keeping try catch block for each of the field seperately. so it increses the line of code. Is any alternative for reducing the Line of code in this situation or any better solution?

Thanks in advance

Siva Sankar N