> On Jan 31, 2017, at 1:58 AM, sari.reach <sari.re...@gmail.com> wrote:
> 
> My wsdls contain xsd's which are of 1MB size, All these xsd's are loaded in
> memory when context is loaded for the first time. I don't want these xsd's
> to be loaded in memory. Please let me know how to stop this

You can’t.   CXF uses the XSD’s at runtime to match up parts with schemas and 
do various checking and namespace mappings.   

You can potentially create a service/client without the wsdlLocation and have 
it just use the annotations, but even then we create a schema based on the 
objects.  That created schema may be smaller, but it also wouldn’t be as 
complete.


-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to