node.setPublishUrl("http://localhost:8080/services/securityUrl");
node.setProxyTransport("class");
node.setSubscriptionUrl("http://localhost:8080/services/securityUrl");
node.setName("default");
node.setManagerName("defaultManager");
SaveNode saveNode = new SaveNode();
saveNode.setAuthInfo(authInfoJoe);
saveNode.getNode().add(node);
Clerk clerk = new Clerk();
clerk.setName("clerkName");
clerk.setPublisher("root");
clerk.setNode(node);
SaveClerk saveClerk = new SaveClerk();
saveClerk.setAuthInfo(authInfoJoe);
saveClerk.getClerk().add(clerk);
clientSubscriptionInfo.setFromClerk(clerk);
Node node2 = new Node();
node2.setSecurityUrl("http://localhost:8080/services/securityUrl2");
node2.setCustodyTransferUrl("https://localhost:8080/services/securityUrl2");
node2.setDescription("description2");
node2.setInquiryUrl("http://localhost:8080/services/securityUrl2");
node2.setPublishUrl("http://localhost:8080/services/securityUrl2");
node2.setProxyTransport("class2");
node2.setSubscriptionUrl("http://localhost:8080/services/securityUrl2");
node2.setName("default2");
node2.setManagerName("default2Manager");
saveNode.getNode().add(node2);
Clerk clerk2 = new Clerk();
clerk2.setName("clerkName2");
clerk2.setPublisher("root");
clerk2.setNode(node2);