6364656667686970717273
String[] arguments = new String[] { "-Adder_add_wsdl", adderWSDLLoc }; JythonRunner runner = new JythonRunner(); runner.run(jythonString, arguments); service.shutdownServer(); } /** * @throws IOException * @throws XBayaException
9293949596979899100101102
"-Adder_add_2_wsdl", adderWSDLLoc, "-Multiplier_multiply_wsdl", multiplierWSDLLoc }; JythonRunner runner = new JythonRunner(); runner.run(jythonString, arguments); adder.shutdownServer(); multiplier.shutdownServer(); } /** * @throws IOException
200201202203204205206207208209210
} else { WSIFMessage fault = invoker.getFault(); logger.info("fault: " + fault); } service.shutdownServer(); } /** * This is a sample. It doesn't work now. *
626364656667686970
fail(); } catch (Exception e) { // It succeeds only once. } adder.shutdownServer(); multiplier.shutdownServer(); } }