On Monday, June 18, 2012 10:17:27 AM Guillaume Castagnino wrote:
> Thanks !!
> 
> This seems to be working like this !

...... 

> But one more question: doing like this, the WSDL is parsed twice, isn't it
> ? The first time to build the Definition, and the second time when
> building the Client ? Is there a way I missed to pass the Definition
> directly to the Client to avoid this double WSDL parsing ?

Likely not.   The WSDLManager mantains a WeakHashMap type of cache for the 
WSDL's.   As long as you strongly  hold onto the key you pass into the 
getDefinition call and you use the same key for the call to create the 
dynamic client, it should use the cached copy and not reparse it.

Dan


> 
> 
> Now I get some issues with the XSD complex types such as "undefined simple
> or complex type 'enc11:Array'", but this is an other story, thanks !
> 
> Guillaume

Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to