/**
 * ArrayTestBindingImpl.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package MyArrayTest;

public class ArrayTestBindingImpl implements MyArrayTest.ArrayTestPortType{


    public MyArrayTest.BrokenList getBrokenList() throws java.rmi.RemoteException {

		BrokenList list = new BrokenList();

		ListItem[] complexList = new ListItem[2];
		complexList[0] = new ListItem();
		complexList[0].setFoo("foo");
		complexList[0].setBar("bar");
		complexList[1] = new ListItem();
		complexList[1].setFoo("foo");
		complexList[1].setBar("bar");

    	list.setComplexList(complexList);
        return list;
    }

    public MyArrayTest.GoodList getGoodList() throws java.rmi.RemoteException {

		GoodList list = new GoodList();
		String[] stringList = { "foo", "bar" }; 
		list.setStringList(stringList);

		return list;
    }
}
