script.create();
String jythonString = script.getJythonString();
String filename = "tmp/array-test.py";
IOUtil.writeToFile(jythonString, filename);
ArrayGeneratorService arrayGenerator = new ArrayGeneratorService();
arrayGenerator.run();
String arrayGeneratorWSDLLoc = arrayGenerator.getServiceWsdlLocation();
ArrayAdderService arrayAdder = new ArrayAdderService();
arrayAdder.run();
String arrayAdderWSDLLoc = arrayAdder.getServiceWsdlLocation();
String[] arguments = new String[] { "-topic", "array-test", "-ArrayAdder_add_wsdl", arrayAdderWSDLLoc,
"-ArrayGenerator_generate_wsdl", arrayGeneratorWSDLLoc };
JythonRunner runner = new JythonRunner();
runner.run(jythonString, arguments);
arrayGenerator.shutdownServer();
arrayAdder.shutdownServer();
}