Package xregistry.generated

Examples of xregistry.generated.App2HostsResponseDocument


     }

      public String[]  app2Hosts(String appName) throws XRegistryClientException {
          App2HostsDocument document = App2HostsDocument.Factory.newInstance();
          document.addNewApp2Hosts().setAppName(appName);
          App2HostsResponseDocument responseDocument = xregistryStub.app2Hosts(document);
          return responseDocument.getApp2HostsResponse().getHostArray();
      }
View Full Code Here


        System.out.println("Create Stub for "+ registryServiceWsdlUrl + " using "+ userDN);
    }
    public String[]  app2Hosts(String appName) throws XregistryException {
        App2HostsDocument document = App2HostsDocument.Factory.newInstance();
        document.addNewApp2Hosts().setAppName(appName);
        App2HostsResponseDocument responseDocument = proxy.app2Hosts(document);
        return responseDocument.getApp2HostsResponse().getHostArray();
    }
View Full Code Here

    public App2HostsResponseDocument app2Hosts(App2HostsDocument input) throws XregistryException {
        log.info("Request Received " + input.xmlText());
        String[] hostList = registryImpl.app2Hosts(findUserDN(), input.getApp2Hosts().getAppName());

        App2HostsResponseDocument app2HostResDoc = App2HostsResponseDocument.Factory.newInstance();
        App2HostsResponse app2HostRes = app2HostResDoc.addNewApp2HostsResponse();

        if (hostList != null) {
            for (String host : hostList) {
                app2HostRes.addNewHost().setStringValue(host);
            }
        }
        log.info("Response:" + app2HostResDoc.xmlText());
        return app2HostResDoc;
    }
View Full Code Here

TOP

Related Classes of xregistry.generated.App2HostsResponseDocument

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.