I have a Web Service which I am trying to Autowire a variable into. Here is the class:
package com.xetius.isales.pr7.service;
import java.util.Arrays;
impo
Depending on container version or even the Spring, hereinafter you will have an easy solution to expose your WSDL, use:
@PostConstruct
SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);
If you want autowiring to happen, ProductRulesWebService needs to extend SpringBeanAutowiringSupport
Extending that class will allow UpgradeController to be autowired
Use a stack like CXF, which supports Spring natively, then you can essentially do something like this:
<bean id="aService" class="com.xetius.isales.pr7.service.ProductRulesWebService " />
<jaxws:endpoint id="aServiceEndpoint" implementor="#aService" address="/aService" />