FileDocCategorySizeDatePackage
ProductService2.javaAPI DocExample972Tue Oct 09 11:03:40 BST 2001com.ecerami.soap

ProductService2

public class ProductService2 extends ProductService
A Sample SOAP Service Provides Product Information for requested Stockkeeping Unit (SKU)

Fields Summary
Constructors Summary
Methods Summary
public ProductBeangetProductInfo(java.lang.String sku)
Provides Product Info. for requested SKU. If SKU is not found, method throws a ProductNotFoundException

    ProductBean product = (ProductBean) products.get(sku);
    if (product==null)
      throw new ProductNotFoundException ("SKU Not Found:  "+sku);
    return product;