FileDocCategorySizeDatePackage
RetailerClient.javaAPI DocApache Axis 1.41496Sat Apr 22 18:56:52 BST 2006org.apache.axis.wsi.scm.retailer

RetailerClient

public class RetailerClient extends Object
Test client for RetailerService
author
Ias (iasandcb@tmax.co.kr)

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        // Make a service
        RetailerService service = new RetailerServiceLocator();

        // Now use the service to get a stub which implements the SEI.
        RetailerPortType port = service.getRetailerPort();
        CatalogType catalog = port.getCatalog();
        CatalogItem[] items = catalog.getItem();
        for (int i = 0; i < items.length; i++) {
            System.out.println("------------------");
            CatalogItem item = items[i];
            System.out.println(item.getBrand());
        }