On Nov 17, 2013, at 7:45 AM, Oliver Raupach <[email protected]> wrote:
> I have a fairly large wsdl (about 800kb / 700 WebMethods). And I've
> noticed that the client reloads the WSDL from the server each time the
> client starts.This takes about 4-5 seconds. Can I disable this
> "download" to speed up the client statup?
>
> My client-code looks like this:
>
> [...]
> JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
> factory.getInInterceptors().add(new LoggingInInterceptor());
> factory.getOutInterceptors().add(new LoggingOutInterceptor());
> factory.setServiceClass(IClientService.class);
> factory.setAddress("http://localhost:8080/webapp/clientService");
> IClientService client = (IClientService) factory.create();
>
> DataDto dataDto = client.getData("test”);
Are you sure it’s loading the WSDL? Nothing in the above is telling it to
load the WSDL. (no factory.setWsdlLocation call)
--
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com