I am using CXF 2.7.10 at the moment, however for the past few days I've been
experiencing a slowdown.
I'm using JaxWSProxyFactoryBean to create my service class as pointed out by
the user guide.
It works fine but however sometimes I do experience a slow down.
This is what I get from the log:
<snipped>
2014-03-24 19:01:14.365 [http-8989-1] DEBUG o.a.cxf.phase.PhaseInterceptorChain
- Invoking handleMessage on interceptor
org.apache.cxf.interceptor.WrappedOutInterceptor@248a4156
2014-03-24 19:01:14.365 [http-8989-1] DEBUG o.a.cxf.phase.PhaseInterceptorChain
- Invoking handleMessage on interceptor
org.apache.cxf.interceptor.BareOutInterceptor@70c787d7
2014-03-24 19:01:14.366 [http-8989-1] DEBUG o.apache.cxf.transport.http.Headers
- Accept: */*
2014-03-24 19:01:14.366 [http-8989-1] DEBUG o.apache.cxf.transport.http.Headers
- SOAPAction: "urn:UMARKETSCWS/balance"
2014-03-24 19:01:14.366 [http-8989-1] DEBUG o.a.cxf.transport.http.HTTPConduit
- No Trust Decider for Conduit '{urn:UMARKETSCWS}UMarketSCPort.http-conduit'.
An afirmative Trust Decision is assumed.
2014-03-24 19:01:34.124 [http-8989-1] DEBUG o.a.cxf.transport.http.HTTPConduit
- Sending POST Message with Headers to
https://<ipaddress>:<host>/services/umarketsc Conduit
:{urn:UMARKETSCWS}UMarketSCPort.http-conduit
2014-03-24 19:01:34.125 [http-8989-1] DEBUG o.a.cxf.phase.PhaseInterceptorChain
- Invoking handleMessage on interceptor
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor@a92fe09
2014-03-24 19:01:34.125 [http-8989-1] DEBUG o.a.cxf.phase.PhaseInterceptorChain
- Invoking handleMessage on interceptor
org.apache.cxf.interceptor.StaxOutEndingInterceptor@5df86e79
2014-03-24 19:01:34.125 [http-8989-1] DEBUG o.a.cxf.phase.PhaseInterceptorChain
- Invoking handleMessage on interceptor
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@3429dbb8
2014-03-24 19:01:34.126 [http-8989-1] INFO o.a.c.s.U.UMarketSCPort.UMarketSC -
Outbound Message ....
<snipped>
As we can see that sometimes it will need about 20 seconds before Sending POST
Message.
What I am trying to figure out is between No Trust Decider for Conduit and
Sending POST Message, what does it really do?
Is it waiting to open a connection before sending POST Message? We have been
trying to troubleshoot this issue by checking on the network side and at the
other end.
There seems to be no problem at all.
Other than that, we are also running concurrent request to the service. What I
don't understand is that if there's a request delayed, the rest of the
concurrent request will be blocked. After the response was received on the
first execution than the rest of threads will also receive response almost
instantly at the same time. Is this an expected behavior?
Regards,
Felix Ngaserin