Hi Dennis,

I have the exact same code that you copied being invoked from a singleton
spring bean and after initializing I am caching the "Client" in that bean.
When "Client" is initialized i see in logs
DEBUG [http-nio-8070-exec-2] (JAXBUtils.java:764) - Created classes: <all
names of classes from my WSDL.>

The issue is, on the next request when I try to,

ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
Object req = classLoader.loadClass(pkg+".GetHoldingsRequest").newInstance();

I get ClassNotFoundException.
I had spent so much time on this...and still not sure how to get around it.

Thanks,
Sumeet



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to