System.out.println(orderEndpoint.getServiceInterface());
System.out.println(orderEndpoint.getInterfaceName());
System.out.println(orderEndpoint.getEndpoint());
// Create interface based proxy
JbiProxyFactoryBean pf = new JbiProxyFactoryBean();
pf.setContainer(container);
pf.setInterfaceName(orderEndpoint.getInterfaceName());
pf.setEndpoint(orderEndpoint.getEndpoint());
pf.setType(OrderService.class);
OrderService orderService = (OrderService) pf.getObject();
// Prepare cart for order request
Cart cart = new Cart();
OrderItem orderItem = new OrderItem();
orderItem.setCount(2);