FYI:
Found the solution: Spring has a JamonPerformanceMonitorInteceptor you can
easily wire into your web services beans as follows.
This is an Aspect Oriented Programming (AOP) solution that works great. For
every method call in my bean we get stats like hits, execution time, min and
max
Has anyone integrated CXF and JAMon (http://jamonapi.sourceforge.net/)
successfully? I would like to track web service hits using JAMon but I don't
know where to *centralize* the code. We are converting an existing XML over
HTTP app to SOAP using CXF. In the current app we have a central point
Good information. Thanks Eoghan.
In my case I will be setting the MessageId in the application layer and this is
working great.
Just for my knowledge, where and by which interceptor method in the interceptor
chain does the MessageId get generated?
By your comment below, it must be in an
I will talk to our design team about a lightweight workflow system. I really
want a unique transactionID generated by the client to follow the SOAP calls
throughout our backend provisioning systems. I just don't know how to embed it
in the SOAP message. We had an XML over HTTP architecture and
Looks like this will do it: ( modified from the WS-Addressing example in CXF
2.1.3 samples )
final ApplicationContext context =
new ClassPathXmlApplicationContext( /clientAppContext.xml );
final JaxWsProxyFactoryBean factory =
( JaxWsProxyFactoryBean )
I have a need to track SOAP request from client across several web service
calls as follows:
* Client A request to Server A ( using WS-Addressing I have the MessageID
)
* Server A calls Servers B, C, and D.
* Server A aggregates the results and responds to Client A. ( using
Thanks Andrew.
I am attempting to do this without a home-grown solution. If this can be done
using WS-Addressing or some other well-known method I will be happy. As a last
resort I will be writing something like you did.
Thanks,
Jeff
-Original Message-
From: andrew.cl...@gmail.com
Thanks,
That worked great.
Jeff
-Original Message-
From: Eoghan Glynn [mailto:eogl...@progress.com]
Sent: Tuesday, March 03, 2009 5:05 PM
To: users@cxf.apache.org; users@cxf.apache.org
Subject: RE: Logging/Debugging Question
Hi Jeff,
If you enable WS-Addressing (see the
To All,
I have enabled Log4j logging in my CXF application which works nicely. As you
can see below the logging is working and I can see my inbound and outbound SOAP
messages.
I don't see a unique message ID in the SOAP messages that would tie the
response to the request.
Is there a unique