Pawan,
I think Rob gave a very good answer. Since you have a table, might as well do the lookup outside of the Java service. Just pass the looked up result to your Java service.
On an aside, I find that the more proficient webMethods Developer, the less Java code they write… 8) Seriously, most of the things you can thing of doing programmatically, it’s easily doable w/Flow.
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB