import java.util.List;

import org.mule.extras.client.MuleClient;
import org.mule.umo.UMOException;
import org.mule.umo.UMOMessage;

import com.ferienclub.custadmin.beans.CustomerPreferences;
import com.ferienclub.leisure.esb.messages.LeisureQuery;


public class StartTests {

	public static void main(String[] args){
		try {
			System.out.println("Jetzt gehts los!");
			MuleClient client = new MuleClient();
			UMOMessage result = client.send("axis:http://localhost:8081/axis/services/CustomerAdministration?method=getCustomerPreferences","",null);
			Object o = result.getPayload();
			CustomerPreferences[] prefs = (CustomerPreferences[])o;
			System.out.println("Finished");
		} catch (UMOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
}
