Package traderorderhost.trade

Examples of traderorderhost.trade.OrderProcessorStub


    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);
  }
View Full Code Here

TOP

Related Classes of traderorderhost.trade.OrderProcessorStub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.