> On Sep 8, 2017, at 9:19 AM, COURTAULT Francois > <[email protected]> wrote: > > Hello everyone, > > We are using apache-cxf 3.1.10 in TomEE 7.0.3. > In our application, we have JAX-WS client code which targets a remote > endpoint. > > My question is quite basic: > > - when the JAX-WS client code is called the first time, an HTTP call > is performed in order to get the remote endpoint WSDL and then an HTTP with a > SOAP request is sent, right ? > > - then if we target the same remote with the same client, only the > SOAP request is sent (looks like the WSDL is cached at client side), right ? > > Do you confirm this behavior ?
Correct. The WSDL is needed to wire up the various methods and determine the schema and any various policy things. However, that is all held onto in a cache so as long as you don’t discard the client and have to re-create it, we don’t need to retrieve it again. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
