Examples of ImsService


Examples of com.esri.gpt.catalog.arcims.ImsService

  // catalog configuration
  Node ndCat = (Node) xpath.evaluate("catalog", root, XPathConstants.NODE);
  if (ndCat != null) {
    CatalogConfiguration cfg = appConfig.getCatalogConfiguration();
    cfg.getParameters().clear();
    ImsService publish = cfg.getArcImsCatalog().getPublishService();
    ImsService browse = cfg.getArcImsCatalog().getBrowseService();
    cfg.setTablePrefix(Val.chkStr(xpath.evaluate("@gptTablePrefix", ndCat),"GPT_"));
    cfg.setMvsTablePrefix(Val.chkStr(xpath.evaluate("@mvsTablePrefix", ndCat),"MVS_"));

    publish.setServerUrl(xpath.evaluate("@metadataServerUrl", ndCat));
    publish.setServiceName(Val.chkStr(xpath.evaluate("@metadataServerPublishService",ndCat), "GPT_Publish_Metadata"));
    publish.setTimeoutMillisecs(Val.chkInt(xpath.evaluate("@metadataServerTimeoutMillisecs", ndCat), 0));

    browse.setServerUrl(publish.getServerUrl());
    browse.setServiceName(Val.chkStr(xpath.evaluate("@metadataServerBrowseService", ndCat),"GPT_Browse_Metadata"));
    browse.setTimeoutMillisecs(publish.getTimeoutMillisecs());

    // additional parameters
    populateParameters(cfg.getParameters(), ndCat);
   
    //load dcat fields
View Full Code Here

Examples of com.esri.gpt.catalog.arcims.ImsService

/**
* Creates new service.
* @return service
*/
public ImsService newService() {
  ImsService service = new ImsService();
  service.setServerUrl(getUrl());
  service.setServiceName(serviceName);
  service.setTimeoutMillisecs(30000);
  return service;
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.