@WebMethod(action = "listProducts")
@WebResult(name = "ProductList")
public org.apache.beehive.samples.petstore.model.ws.Product[] listProducts
(@WebParam(name = "categoryId")String categoryId) throws DataStoreException
{
CatalogControl ccb = getCatalogBean();
Product[] prods = ccb.getProductListByCategory(categoryId);
org.apache.beehive.samples.petstore.model.ws.Product[] outProds =
new org.apache.beehive.samples.petstore.model.ws.Product[prods.length];
for (int j = 0; j < prods.length ; j++) {
// NOTE jcolwell@bea.com 2004-Oct-08 -- adding images as attachments
Image img = obtainImage(prods[j].getImage());