Spring migration 2.5 to 3 in existing Axis 1.4 web service

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.

+5
source share
1 answer

, ServletEndpointSupport , , , , - JAX-RPC (Axis 1). javadoc ServletEndpointSupport :

JAX-WS org.springframework.remoting.jaxws

, Axis 1 ( ), Spring 3 .

Spring 2.5, Controller, Spring 3, .

+2

All Articles