You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by sumeet_it <su...@fisglobal.com> on 2017/08/03 21:37:14 UTC
CXF + creating dynamic client
I am using below thread from servlet(just for testing)
JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
client = dcf.createClient("/sm/ws/wsdl/DataImportUtility.wsdl",
Thread.currentThread().getContextClassLoader())
The issue is for every request to my servlet it creates the classes.
How can i cache the classes in clasLoader so its faster on the next request?
Thanks,
Sumeet
--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-creating-dynamic-client-tp5782403.html
Sent from the cxf-dev mailing list archive at Nabble.com.