return self;
}
public void SubmitOrderTrasactedQueue(CustomOrderBean order) throws IOException {
TradeOrderConfig config = geTradeOrderConfig();
OrderProcessorStub stub = new OrderProcessorStub(config.getEndpointURL());
ServiceClient serviceClient = stub._getServiceClient();
serviceClient.getOptions().setProperty(HTTPConstants.CHUNKED, Boolean.FALSE);
if (config.isSecure()) {
enableSecurity(stub);
serviceClient.getOptions().setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
}
SubmitOrder param = new SubmitOrder();
param.setOrder(order);
stub.submitOrder(param);
}