document.addNewGetResource().setResourceName(resourceName);
return xregistryStub.getResource(document).getGetResourceResponse().getResourceAsStr();
}
public String getServiceDesc(QName serviceName) throws XRegistryClientException {
GetServiceDescDocument input = GetServiceDescDocument.Factory.newInstance();
input.addNewGetServiceDesc().setServiceQname(serviceName);
return xregistryStub.getServiceDesc(input).getGetServiceDescResponse().getServiceDescAsStr();
}