Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-16 Thread krish.karthi
Hi Dan/Dennis, Thanks for the help, I hope we have found the problem and fixed it. Actually it is a problem with Wily IntroScope Agent tool which we used in our server for Webservice call monitoring, which was adding SOAPHeader in every out going request but the problem is it was never

Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-05 Thread krish.karthi
Hi Dennis, One more observation from debug log, In every RequestContext an element org.apache.cxf.headers.Header.list is keep on growing For first request only one SoapHeader is in the list [org.apache.cxf.binding.soap.SoapHeader@4c0c2817] 2014-05-04 19:01:17,047 DEBUG:

Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-05 Thread Daniel Kulp
OK… this explains it. I’ve been running one of our samples in a tight loop for the last 6 hours and haven’t observed any increase in time. But your email definitely would explain it. Someplace in your code, you are doing something like: ListHeader list = new ArrayListHeader();

Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-05 Thread krish.karthi
Hi Dan, Thanks for the instant reply, in our code we are not adding any headers as you mentioned below, it is all with CXF. But we do use the AddressingFeature to create the client. Code which creates client, OurHTTPPort client = service.getOurHTTPPort(AddressingFeature(true, ture)); I will

Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-05 Thread Daniel Kulp
On May 5, 2014, at 2:58 PM, krish.karthi karthik2le...@gmail.com wrote: Thanks for the instant reply, in our code we are not adding any headers as you mentioned below, it is all with CXF. Can you grep through and check to see what IS being set on the RequestContext? This definitely

Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-05 Thread krish.karthi
Hi Dan, We are not setting anything to RequestContext except below config properties, ((BindingProvider)iCDTServicePort).getRequestContext().put(thread.local.request.context, true); ((BindingProvider)iCDTServicePort).getRequestContext().put(schema-validation-enabled, false); We have

Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-04 Thread krish.karthi
Hi Dennis, Thanks for quick reply, yes we already tried to use single client created at the start of the application but even with that we saw same pattern, that's when we switched to Object pooling, we created the client objects on demand and pooled them. FYI, For whole load test it

CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-03 Thread krish.karthi
Hello Everyone - I'm facing a very interesting performance challenge with CXF client. While doing load testing we notice that CXF client response time increases linearly over the period for same operation. I'm using CXF as a web services client(WSDL2Java generated Client + JAXB Binding),

Re: CXF Client Performance Issue: Service Invocation time increases Linearly over the period (.net WCF Webservice)

2014-05-03 Thread Dennis Sosnoski
Hi Karthik, I don't know offhand of what could cause this type of performance degradation, but for starters you should probably be reusing clients rather than creating a new one for every request. There's a lot of overhead involved in creating the client, including reading the WSDL for the