}
return "not yet implemented!";
}
private String save_Clerk(HttpServletRequest parameters) {
SaveClerk sc = new SaveClerk();
sc.setAuthInfo(GetToken());
Clerk c = new Clerk();
c.setName(parameters.getParameter("CLERKsetName"));
Node node = new Node();
node.setClientName(parameters.getParameter("CLERKNODEsetClientName"));
node.setCustodyTransferUrl(parameters.getParameter("CLERKNODEsetCustodyTransferUrl"));
node.setDescription(parameters.getParameter("CLERKNODEsetDescription"));
node.setFactoryInitial(parameters.getParameter("CLERKNODEsetFactoryInitial"));
node.setFactoryNamingProvider(parameters.getParameter("CLERKNODEsetFactoryNamingProvider"));
node.setFactoryURLPkgs(parameters.getParameter("CLERKNODEsetFactoryURLPkgs"));
node.setInquiryUrl(parameters.getParameter("CLERKNODEsetInquiryUrl"));
node.setJuddiApiUrl(parameters.getParameter("CLERKNODEsetJuddiApiUrl"));
node.setName(parameters.getParameter("CLERKNODEsetName"));
node.setProxyTransport(parameters.getParameter("CLERKNODEsetProxyTransport"));
node.setPublishUrl(parameters.getParameter("CLERKNODEsetPublishUrl"));
node.setReplicationUrl(parameters.getParameter("CLERKNODEsetReplicationUrl"));
node.setSecurityUrl(parameters.getParameter("CLERKNODEsetSecurityUrl"));
node.setSubscriptionListenerUrl(parameters.getParameter("CLERKNODEsetSubscriptionListenerUrl"));
node.setSubscriptionUrl(parameters.getParameter("CLERKNODEsetSubscriptionUrl"));
c.setNode(node);
c.setPassword(parameters.getParameter("CLERKsetPassword"));
c.setPublisher(parameters.getParameter("CLERKsetPublisher"));
sc.getClerk().add(c);
try {
juddi.saveClerk(sc);
} catch (Exception ex) {
if (isExceptionExpiration(ex)) {
token = null;
sc.setAuthInfo(GetToken());
try {
juddi.saveClerk(sc);
} catch (Exception ex1) {
return "Error!" + HandleException(ex1);
}