document.addNewGetHostDesc().setHostName(hostName);
return xregistryStub.getHostDesc(document).getGetHostDescResponse().getHostDescAsStr();
}
public String getResource(QName resourceName) throws XRegistryClientException {
GetResourceDocument document = GetResourceDocument.Factory.newInstance();
document.addNewGetResource().setResourceName(resourceName);
return xregistryStub.getResource(document).getGetResourceResponse().getResourceAsStr();
}