OrderProcessor processor = new OrderProcessor();
OrderProcessorService service = getOrderProcessorService(processor);
SubmitOrder param = new SubmitOrder();
param.setOrder(factory.toOrder(order));
service.submitOrder(param);
}
private OrderProcessorService getOrderProcessorService(OrderProcessor processor) throws IOException {
TradeOrderConfig config = TradeConfigServiceClient.getInstance().getTradeOrderConfig();
OrderProcessorService service = null;