Hello,

my application exposes SOAP web services. There are ~100 different services
with up to 20 methods each.
Also, because we have different security requirements for loopback and
remote communications, each service is actually published twice - on
0.0.0.0:<portA> and 127.0.0.1:<portB>. This way we can apply different SSL
settings (Key/Trust managers, cipher suites) to each kind of communication.
On a weak hardware it takes up-to to seconds 70 (!) seconds to create the
endpoints when the most expensive operation is
org.apache.cxf.common.jaxb.JAXBContextCache.getCachedContextAndSchemas which
calls "createContext". 

I tried to use the same instance of DataBinding for all factories:
   JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
   factory.setDataBinding(jaxbDataBinding);
but it didn't improve the situation. 

Any idea how can I speed up this process?




--
View this message in context: 
http://cxf.547215.n5.nabble.com/SOAP-endpoint-creation-performance-problem-tp5777010.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to