De: Jorge Infante Osorio [mailto:[email protected]] Enviado el: lunes, 14 de marzo de 2011 15:28 Para: 'Afkham Azeez' Asunto: RE: [Carbon-dev] UT security performance. I tried with the echo service inside ESB and the same results. This the code that I used: Long start = System.currentTimeMillis(); String policyFilePath = "d:\\UTOverTransport.xml"; String trustStore = "c:\\keys\\cliente.jks"; System.setProperty("javax.net.ssl.trustStore",trustStore); System.setProperty("javax.net.ssl.trustStorePassword","#####"); ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("repo", "repo/conf/client.axis2.xml"); EchoStub stub = new EchoStub(ctx); stub._getServiceClient().engageModule("rampart"); stub._getServiceClient().engageModule("addressing"); Options options = stub._getServiceClient().getOptions(); options.setUserName("###"); options.setPassword("###"); options.setProperty(RampartMessageData.KEY_RAMPART_POLICY, loadPolicy(policyFilePath)); stub._getServiceClient().setOptions(options); EchoInt req = new EchoInt(); req.setIn(4); EchoIntResponse resp = stub.echoInt(req); System.out.println(resp.get_return()); Long end = System.currentTimeMillis(); System.out.println("tiempo demora: " + (end-start)); The delay: 8454 milliseconds Jorge. De: Afkham Azeez [mailto:[email protected]] Enviado el: lunes, 14 de marzo de 2011 15:13 Para: [email protected] CC: Jorge Infante Osorio Asunto: Re: [Carbon-dev] UT security performance. Have you tried this with the CommodityQuote sample? This delay seems to be abnormal. On Tue, Mar 15, 2011 at 1:40 AM, Jorge Infante Osorio <[email protected]> wrote: Hi folks. I´m implement a proxy Service with UT security and I note that the performance it´s very low. A single call in Eclipse have a delay of 8,5 seconds. Without security the response time are about 1,2 seconds. This is a normal behavior? I have the backend service in WSAS 3.2.1 and ESB 3.0.1. Regards, Ing. Jorge Infante Osorio. J´Dpto Soluciones SOA. CDAE. UCI _______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Afkham Azeez Senior Software Architect & Senior Manager; WSO2, Inc.; <http://wso2.com> http://wso2.com, Member; Apache Software Foundation; <http://www.apache.org/> http://www.apache.org/ email: <mailto:[email protected]> [email protected] cell: +94 77 3320919 blog: <http://blog.afkham.org> http://blog.afkham.org twitter: <http://twitter.com/afkham_azeez> http://twitter.com/afkham_azeez linked-in: http://lk.linkedin.com/in/afkhamazeez Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
