Package xregistry.generated

Examples of xregistry.generated.FindServiceDescResponseDocument


      }
     
      public ServiceDescData[]  findServiceDesc(String serviceName) throws XRegistryClientException {
          FindServiceDescDocument document = FindServiceDescDocument.Factory.newInstance();
          document.addNewFindServiceDesc().setServiceQNameSearchStr(serviceName);
          FindServiceDescResponseDocument responseDocument = xregistryStub.findServiceDesc(document);
         
          ServiceDescData[] serviceDescData =  responseDocument.getFindServiceDescResponse().getServiceNameArray();
         
          if(serviceDescData == null){
              return null;
          }
         return serviceDescData;
View Full Code Here


    }
   
    public DocData[]  findServiceDesc(String serviceName) throws XregistryException {
        FindServiceDescDocument document = FindServiceDescDocument.Factory.newInstance();
        document.addNewFindServiceDesc().setServiceQNameSearchStr(serviceName);
        FindServiceDescResponseDocument responseDocument = proxy.findServiceDesc(document);
       
        ServiceDescData[] serviceDescData =  responseDocument.getFindServiceDescResponse().getServiceNameArray();
       
        if(serviceDescData == null){
            return null;
        }
        List<DocData> results = new ArrayList<DocData>();
View Full Code Here

            throws XregistryException {
        log.info("Request Received " + input.xmlText());
        List<DocData> serviceList = registryImpl.findServiceDesc(findUserDN(), input
                .getFindServiceDesc().getServiceQNameSearchStr());

        FindServiceDescResponseDocument findServiceDescResponseDocument = FindServiceDescResponseDocument.Factory
                .newInstance();
        FindServiceDescResponse findServiceDescResponse = findServiceDescResponseDocument
                .addNewFindServiceDescResponse();
        if (serviceList != null) {
            for (DocData service : serviceList) {
                ServiceDescData serviceDescData = findServiceDescResponse.addNewServiceName();
                copyResourceData(service, serviceDescData);
            }
        }
        log.info("Response  Sent  " + findServiceDescResponseDocument.xmlText());
        return findServiceDescResponseDocument;
    }
View Full Code Here

TOP

Related Classes of xregistry.generated.FindServiceDescResponseDocument

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.