Ola,
estou com problema para injetar o objeto HomeIndicadoresReportService no web service
segue Web Service Class
@Service
@WebService(endpointInterface = "com.santander.portalcio.ws.IndicadoresBSTSWebServiceInterface")
public class IndicadoresBSTSWebServiceImpl extends SpringBeanAutowiringSupport implements IndicadoresBSTSWebServiceInterface {
@PostConstruct
public void init() {
SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);
}
@Autowired
private HomeIndicadoresReportService homeIndicadoresReportService;
@WebMethod
public ListaWS teste(String abc) {
homeIndicadoresReportService.buildValuesToGraph(resultMesAtual, selectedEntity, selectedBS, selectedTS,
selectedFunctionality, filter, false);
return new ListaWS(resultMesAtual);
}
}
HomeIndicadoresReportService Class:
public interface HomeIndicadoresReportService extends Serializable {
public void selectAndBuildEntityBsTsFunc(List<EntityIndicatorVO> resultAux, BSTSIndicatorsFilterVO filter);
public void selectcompFuncInc(List<EntityIndicatorVO> resultAux, EntityIndicatorVO selectedEntity,
BSIndicatorVO selectedBS, TSIndicatorVO selectedTS, FunctionalityIndicatorVO selectedFunctionality,
BSTSIndicatorsFilterVO filter, boolean isIndicatorsBSTS);
public void selectTotaoInc(List<EntityIndicatorVO> resultAux, EntityIndicatorVO selectedEntity,
BSIndicatorVO selectedBS, TSIndicatorVO selectedTS, FunctionalityIndicatorVO selectedFunctionality, BSTSIndicatorsFilterVO filter);
public void buildValuesToGraph(List<EntityIndicatorVO> resultMes, EntityIndicatorVO selectedEntity,
BSIndicatorVO selectedBS, TSIndicatorVO selectedTS, FunctionalityIndicatorVO selectedFunctionality,
BSTSIndicatorsFilterVO filter, boolean isIndicatorsBSTS);
}