public void init() {
try {
Service ss = new Service();
SimpleProvider provider = new SimpleProvider();
AxisServer server = new AxisServer(provider);
SOAPService service = new SOAPService(new RPCProvider());
service.setOption("className", "test.encoding.TestArrayListConversions");
service.setOption("allowedMethods", "*");
provider.deployService(SERVICE_NAME, service);
call = (Call) ss.createCall();
call.setTransport(new LocalTransport(server));
} catch (Exception exp) {
exp.printStackTrace();