{
XmlRpcFileManagerClient client = getContextClient();
Product product = client.getProductById(productId);
List<Reference> references = client.getProductReferences(product);
return new ReferenceResource(productId, refIndex,
references.get(refIndex), getContextWorkingDir());
}
catch (Exception e)
{
String message = "Unable to find the requested resource.";