Package org.ogce.schemas.gfac.documents

Examples of org.ogce.schemas.gfac.documents.ServiceMapDocument.xmlText()


    }
    try {
      RegistryUtil.registerServiceMapFromStr(regService, serviceMapStr);
    } catch (Exception e) {
      if (oldServiceMap != null) {
        RegistryUtil.registerServiceMapFromStr(regService, oldServiceMap.xmlText());
      }
      throw new GfacException(e, FaultCode.ErrorAtClientWhileWsCall);
    }
    // System.out.println("######"+serviceMapStr);
View Full Code Here


        smt.addNewLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      } else {
        smt.getLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      }
    }
    return smd.xmlText();

  }

  public static String simpleServiceXMLRequest(ServiceBean serviceInfo) throws GfacException {
    ServiceMapDocument smd;
View Full Code Here

        smt.addNewLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      } else {
        smt.getLifeTime().setNotAfterInactiveMinutes(serviceInfo.getNotAfterInactiveMinutes());
      }
    }
    return smd.xmlText();

  }

  /**
   * @see edu.indiana.extreme.gfac.beanutils.UtilMethods#getBeanObjectInfo(edu.indiana.extreme.gfac.external.RegistryService,
View Full Code Here

    }
   
    SchemaValidator validator = new SchemaValidator(serviceMapType);
    validator.validate();

    return serviceMapDocument.xmlText();
  }

  public static ServiceBean serviceBeanRequest(String serviceMapStr)
      throws XmlException, IOException {
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.