spring boot webservices 中引入的其他业务层总是为null

@WebService(serviceName = "CommonService",
targetNamespace = "http://server.webserver.production.sofn_productioncxf.me.com",
endpointInterface="com.me.sofn_productioncxf.production.webserver.server.ProductionServer")
public class ProductionServerImpl implements ProductionServer {

private static final Logger log = LoggerFactory.getLogger(ProductionServerImpl.class);

@Autowired
private JdbcTemplate jdbcTemplate;

@Autowired
private ProductionService productionService;

在使用webservices客户端,调用的时候,这个类中, productionService 总是为null。如果把webservice配置注释掉,就没有问题了,请问时怎么回事?

需要把service以静态变量保存到Spring ApplicationContext, 不能用注解,不能初始化取出来当然是空