Community

Recent changes on CXF integration

reply from Alessio Soldano in JBoss Web Services Development - View the full discussion

Jim Ma wrote:

 

There is one use case I can see now to keep the lazy load support : when user specify both the jbossws-cxf.xml and web.xml to create a service  , and there is some configuration item for example "wsdlLocation" in jbossws-cxf.xml needs ServletContextResourceResolver :

<jaxws:endpoint class="foo.Bar" wsdlLocation="WEB-INF/hello.wsdl"/>

This is actually not a problem, as currently the CXFServletExt:

1) get the bus created during deployment from the endpoint

2) sets the bus as the thread default

3) updates the bus with the information coming from the ServletConfig: this includes adding that resource resolver to the resource manager

4) properly creates and sets the ServletController using the bus

Reply to this message by going to Community

Start a new discussion in JBoss Web Services Development at Community