cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: question on embedding cxf
Date Thu, 21 Jul 2011 20:10:35 GMT

Hmm....   interesting requirement.    I'm not really sure what to suggest.

Subclassing the CXFServlet, you COULD override the handle method to look at 
the URL and startup the appropriate service prior to calling the "super" 
version.    That should work.   In a standalone thing, I'm really drawing a 
blank.  :-(


On Monday, July 18, 2011 9:15:05 PM Mark Ford wrote:
> I am looking for some pointers on embedding CXF into an application.
> My requirement is to defer the loading of WSDL/XSD for the service
> until it is needed and then to never cache it within CXF.
> The concern is that I may have thousands of different services
> deployed but likely only a few hundred running at any one time so I'd
> like to avoid loading all the WSDL/XSD for those services not being
> used. All of these services will be deployed programmatically and
> likely change over time as opposed to the typical use case of a static
> deployment via spring or other mechanism.
> I have currently setup some test deployments using the
> WSDLServiceFactoryBean and it works fine but this requires loading the
> WSDL and this is the part I'd like deferred.
> Thanks in advance.
Daniel Kulp
Talend -

View raw message