JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setAddress(SERVICE_ADDRESS);
factory.setServiceClass(DemoService.class);
DemoService service = (DemoService) factory.create();
测试:第一步,需要花费2秒,第4步需要花费7-10秒。
请问大神是否有调优方案?
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setAddress(SERVICE_ADDRESS);
factory.setServiceClass(DemoService.class);
DemoService service = (DemoService) factory.create();
测试:第一步,需要花费2秒,第4步需要花费7-10秒。
请问大神是否有调优方案?