}
}
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;