Am 18.11.2013 18:48, schrieb Daniel Kulp:
> 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)
>

Yes, sure. The server-log looks like this (this is just a smaller test-log):

"fe80:0:0:0:c446:ed8b:725:dfe4%11" "NULL-AUTH-USER"
"17/Nov/2013:12:42:36 +0100" "GET /webapp/clientService?wsdl HTTP/1.1"
200 8093
"fe80:0:0:0:c446:ed8b:725:dfe4%11" "NULL-AUTH-USER"
"17/Nov/2013:12:42:36 +0100" "GET /favicon.ico HTTP/1.1" 404 1071
"127.0.0.1" "NULL-AUTH-USER" "17/Nov/2013:12:48:05 +0100" "POST
/webapp/clientService HTTP/1.1" 401 1073

--

  Oliver Raupach



Reply via email to