Package org.apache.juddi.datatype.response

Examples of org.apache.juddi.datatype.response.RegistryInfo


    AbstractHandler handler = maker.lookup(RegistryInfoHandler.TAG_NAME);
   
    Element parent = XMLUtils.newRootElement();
    Element child = null;
   
    RegistryInfo regInfo = new RegistryInfo();
    regInfo.addProperty(new Property("first_name","Steve"));
    regInfo.addProperty(new Property("last_name","Viens"));
    regInfo.addProperty(new Property("version","1.0b1"));

    System.out.println();
   
    RegistryObject regObject = regInfo;
    handler.marshal(regObject,parent);
View Full Code Here


    try
    {
      // create a new RegisteryInfo instance and
      // add Registry name/value properties to it.

      RegistryInfo info = new RegistryInfo();
      info.setGeneric(generic);
      info.setOperator(Config.getOperator());
      info.addProperty("registry_contact","admin@viens.net");
      info.addProperty("registry_version","1.0b1");
      info.addProperty("uddi_version","2.0");
     
      return info;
    }
    catch(Exception ex)
    {
View Full Code Here

    //props.setProperty(RegistryProxy.HTTP_PROXY_PORT_PROPERTY_NAME,"8000");
    //IRegistry registry = new RegistryProxy(props);

    try
    {
      RegistryInfo regInfo = registry.getRegistryInfo();
      Properties regProps = regInfo.getProperties();
      Enumeration keys = regProps.keys();

      while(keys.hasMoreElements())
      {
        String name = (String)keys.nextElement();
View Full Code Here

TOP

Related Classes of org.apache.juddi.datatype.response.RegistryInfo

Copyright © 2018 www.massapicom. 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.