Examples of FindServiceInstanceResponseDocument


Examples of xregistry.generated.FindServiceInstanceResponseDocument

      }     
     
      public WsdlData[]  findServiceInstance(String serviceName) throws XRegistryClientException {
          FindServiceInstanceDocument document = FindServiceInstanceDocument.Factory.newInstance();
          document.addNewFindServiceInstance().setServiceQnameSearchStr(serviceName);
          FindServiceInstanceResponseDocument responseDocument = xregistryStub.findServiceInstance(document);
         
          WsdlData[] wsdlDescData =  responseDocument.getFindServiceInstanceResponse().getServiceInstanceArray();
          if(wsdlDescData == null){
              return null;
          }
         return wsdlDescData;
      }
View Full Code Here

Examples of xregistry.generated.FindServiceInstanceResponseDocument

        return results.toArray(new DocData[0]);
    }
    public DocData[]  findServiceInstance(String serviceName) throws XregistryException {
        FindServiceInstanceDocument document = FindServiceInstanceDocument.Factory.newInstance();
        document.addNewFindServiceInstance().setServiceQnameSearchStr(serviceName);
        FindServiceInstanceResponseDocument responseDocument = proxy.findServiceInstance(document);
      
        WsdlData[] wsdlDescData =  responseDocument.getFindServiceInstanceResponse().getServiceInstanceArray();
        if(wsdlDescData == null){
            return null;
        }
        List<DocData> results = new ArrayList<DocData>();
        for(int i = 0;i<wsdlDescData.length;i++){
View Full Code Here

Examples of xregistry.generated.FindServiceInstanceResponseDocument

            throws XregistryException {
        log.info("Request Received " + input.xmlText());
        List<DocData> serviceInstanceList = registryImpl.findServiceInstance(findUserDN(), input
                .getFindServiceInstance().getServiceQnameSearchStr());

        FindServiceInstanceResponseDocument findServiceInstanceResponseDocument = FindServiceInstanceResponseDocument.Factory
                .newInstance();
        FindServiceInstanceResponse findServiceDescResponse = findServiceInstanceResponseDocument
                .addNewFindServiceInstanceResponse();
        if (serviceInstanceList != null) {
            for (DocData service : serviceInstanceList) {
                WsdlData wsdlData = findServiceDescResponse.addNewServiceInstance();
                copyResourceData(service, wsdlData);
            }
        }
        log.info("Response  Sent  " + findServiceInstanceResponseDocument.xmlText());
        return findServiceInstanceResponseDocument;
    }
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.