1 public class MainTest extends TestCase { 2 public void testMain() throws CpbBusinessException { 3 Properties props = new Properties(); 4 props.setProperty(NCLocator.SERVICEDISPATCH_URL,"http://172.16.0.36:8160/ServiceDispatcherServlet"); 5 props.setProperty(NCLocator.TARGET_MODULE, "webbd"); 6 nc.uap.cpb.org.itf.ICpUserQry cpuser = NCLocator.getInstance(props).lookup(nc.uap.cpb.org.itf.ICpUserQry.class); 7 CpUserVO[] cpu = cpuser.getAllUsers(); 8 for(int i=0;i