String apiKey="*****************";
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setServiceClass(com.xld.client.OrderWS.class);
factory.setAddress("http://store.kjy.cn/ecscm/services/inventoryService?wsdl");
com.xld.client.OrderWS query =(com.xld.client.OrderWS)
factory.create();
com.xld.client.OrderStatusInfo result=query.getOutOrderStatus(
apiKey,"01", "lydh20160526001");
WarehouseService.OrderWSClient wsClient = new WarehouseService.OrderWSClient();
StockDemo.WarehouseService.OrderStatusInfo result = wsClient.getOutOrderStatus("apiKey", "01", "20160718000001");
string orderStatusCode = result.orderStatusCode;