PasswordAuthentication passwdAuth = new PasswordAuthentication("jdoe",
"juddi".toCharArray());
Set creds = new HashSet();
creds.add(passwdAuth);
setProperties();
Connection conn = getConnection();
conn.setCredentials(creds);
RegistryService rs = conn.getRegistryService();
blm = rs.getBusinessLifeCycleManager();
Collection orgs = new ArrayList();
Organization org = blm.createOrganization(getIString("USA"));
org.setDescription(getIString("Apache Software Foundation"));
Service service = blm.createService(getIString("Apache JAXR Service"));