FileDocCategorySizeDatePackage
Invoke_PriceList.javaAPI DocExample1346Tue Oct 09 11:03:40 BST 2001com.ecerami.wsdl

Invoke_PriceList

public class Invoke_PriceList extends Object
SOAP Invoker. Uses the PriceListServiceHelper to invoke SOAP service. PriceListServiceHelper and IPriceListService are automatically generated by GLUE.

Fields Summary
Constructors Summary
Methods Summary
public double[]getPrices(java.lang.String[] skus)
Get Product List via SOAP

    IPriceList_Service priceListService = PriceList_ServiceHelper.bind();
    double[] prices = priceListService.getPriceList(skus);
    return prices;
  
public static voidmain(java.lang.String[] args)
Main Method

    Invoke_PriceList invoker = new Invoke_PriceList();
    System.out.println ("Product Catalog");
    String skus[] = {"A358185", "A358565" };
    double[] prices = invoker.getPrices (skus);
    for (int i=0; i<prices.length; i++) {
      System.out.print ("SKU:  "+skus[i]);
      System.out.println (" --> Price:  "+prices[i]);
    }