Examples of newServiceDataElement()


Examples of soaprmi.ogsi.sde.ServiceDataElementFactory.newServiceDataElement()

      // create an SDE from the current entry
      StringWriter sw = new StringWriter();
      Util.readXMLEscapedString(sw, sdeString);
      ServiceDataElement nextSDE =
        sdeFactory.newServiceDataElement(sw.toString());
      QName sdeQName = nextSDE.getQName();
      // make sure the SDE can be added
      ServiceDataTypeMetadata sdtm = sdm.getTypeManager().getRegisteredType(sdeQName);
      // 1. maxoccurs
      ServiceDataElement[] sdeList = sdm.getServiceDataByName(sdeQName);
View Full Code Here

Examples of soaprmi.ogsi.sde.ServiceDataElementFactory.newServiceDataElement()

      // an SDE for the name of the Component
      XmlQName serviceQName = XmlQName.Factory.newInstance();
      serviceQName.setQNameValue(new QName("http://www.extreme.indiana.edu/xcat/ccacore/componentID",
             instanceName));
      ServiceDataElement serviceNameSDE =
  sdeFactory.newServiceDataElement(new QName(OGSI.OGSI_NS,
               "instanceName"),
           serviceQName);
      sdm.addServiceData(serviceNameSDE);

      // add SDEs for GSH's of each of the ports
View Full Code Here

Examples of soaprmi.ogsi.sde.ServiceDataElementFactory.newServiceDataElement()

    "xmlns:tns=\"http://www.extreme.indiana.edu/xcat/ccacore/componentID\" " +
    "name=\"" + portNames[i] + "\">" +
    portHandle +
    "</tns:providesPortHandle>";
  ServiceDataElement handleSDE =
    sdeFactory.newServiceDataElement(handleXMLString);
  sdm.addServiceData(handleSDE);
      }

      String handleXMLString =
  "<tns:componentHandle " +
View Full Code Here

Examples of soaprmi.ogsi.sde.ServiceDataElementFactory.newServiceDataElement()

  "xmlns:tns=\"http://www.extreme.indiana.edu/xcat/ccacore/componentID\" " +
  "name=\"" + instanceName + "\">" +
  instanceHandle +
  "</tns:componentHandle>";
      ServiceDataElement handleSDE =
  sdeFactory.newServiceDataElement(handleXMLString);
      sdm.addServiceData(handleSDE);

    } catch (ClassNotFoundException cnfe) {
      logger.severe("Can't find class " + className + " for component", cnfe);
      throw new NonstandardException("Can't find class " + className +
View Full Code Here

Examples of soaprmi.ogsi.sde.ServiceDataElementFactory.newServiceDataElement()

      // an SDE for the name of the Component
      XmlQName serviceQName = XmlQName.Factory.newInstance();
      serviceQName.setQNameValue(new QName("http://www.extreme.indiana.edu/xcat/ccacore/componentID",
             instanceName));
      ServiceDataElement serviceNameSDE =
  sdeFactory.newServiceDataElement(new QName(OGSI.OGSI_NS,
               "instanceName"),
           serviceQName);
      sdm.addServiceData(serviceNameSDE);

      // add SDEs for GSH's of each of the ports
View Full Code Here

Examples of soaprmi.ogsi.sde.ServiceDataElementFactory.newServiceDataElement()

    "xmlns:tns=\"http://www.extreme.indiana.edu/xcat/ccacore/componentID\" " +
    "name=\"" + portNames[i] + "\">" +
    portHandle +
    "</tns:providesPortHandle>";
  ServiceDataElement handleSDE =
    sdeFactory.newServiceDataElement(handleXMLString);
  sdm.addServiceData(handleSDE);
      }

      String handleXMLString =
  "<tns:componentHandle " +
View Full Code Here

Examples of soaprmi.ogsi.sde.ServiceDataElementFactory.newServiceDataElement()

  "xmlns:tns=\"http://www.extreme.indiana.edu/xcat/ccacore/componentID\" " +
  "name=\"" + instanceName + "\">" +
  instanceHandle +
  "</tns:componentHandle>";
      ServiceDataElement handleSDE =
  sdeFactory.newServiceDataElement(handleXMLString);
      sdm.addServiceData(handleSDE);

    } catch (ClassNotFoundException cnfe) {
      logger.severe("Can't find class " + className + " for component", cnfe);
      throw new NonstandardException("Can't find class " + className +
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.