I need to switch from Spring from 2.5 to 3.0. My web services still work with Axis 1.4, with Spring 2.5 I was pretty simple, each service implementation class extends ServletEndpointSupport. In Spring 3.0, ServletEndpointSupport is deprecated.
For instance:
public class PersonBindingImpl extends ServletEndpointSupport implements PersonPortType {
public PersonDaten PersonQueryRequest(XPAPersonRequest request) throws RemoteException, XPAException {
PersonsImpl persons = getWebApplicationContext().getBean("personImpl", PersonsImpl.class);
return persons.getAllByGroup(request.getGroup());
}
}
Is there a way to get ApplicationContext in Spring 3 in such a simple way as in Spring 2.5.
source
share