Creates a server connection endpoint of the specified endpoint type.
void SUPDomain.createEndpoint(ENDPOINT_TYPE type, name, template, properties)
If successful, returns silently. If unsuccessful, returns SUPAdminException.
Map<String, String> properties = new HashMap<String, String>();
// For Sybase ASA
properties.put("commitProtocol", "<commit protocol>");
properties.put("dataSourceClass", "<data source class>");
properties.put("databaseURL", "<database URL>");
properties.put("user", "<user name>");
properties.put("password", "<password>");
supDomain.createEndpoint(ENDPOINT_TYPE.JDBC, "<endpoint name>", "<template name>", properties);
properties.clear();
properties.put("jco.client.user", "<jco client user>");
properties.put("jco.client.passwd", "<jco client password>");
properties.put("jco.client.ashost", "<jco client AS host>");
properties.put("jco.client.client", "<jco client>");
supDomain.createEndpoint(ENDPOINT_TYPE.SAP, "<endpoint name>", "<template name>", properties);
properties.clear();
properties.put("address", "<address>");
properties.put("user", "<user name>");
properties.put("password", "<password>");
supDomain.createEndpoint(ENDPOINT_TYPE.WEBSERVICE, "<endpoint name>", "<template name>", properties);