Discussion:
[jboss-user] [JBoss Web Services] - Client side JBossWS Records Management
Steve Schols
2013-01-14 09:38:20 UTC
Permalink
Steve Schols [https://community.jboss.org/people/steveschols] created the discussion

"Client side JBossWS Records Management"

To view the discussion, visit: https://community.jboss.org/message/791471#791471

--------------------------------------------------------------
Hi there,

We are using server-side JBossWS Records Management (using RecordingServerHandler, LogRecorder and a custom DBRecorder) to be able to log inbound and outbound SOAP messages.
This way, we log all SOAP messages to our endpoints that our partners send to us and the responses we send back.

We would like to have the same behaviour on the client-side ... so we want to be able to log the SOAP messages we are sending to our external partners, and the responses we receive from them.
Just using the existing RecordingServerHandler doesn't appear to be sufficient, because when we are the client, the EndpointAssociation.getEndpoint() method returns NULL. The endpoint is only set in the EndpointAssociation class on the server side, this processRecord() cannot be called on an NULL endpoint instance.
h4. Client side
JMX management of processors is of course available on server side only. However users might also be interested in collecting and processing records on client side. Since handlers can be set on client side too, customer handlers could be configured to capture messages almost like the +RecordingServerHandler+ does. This is left to the users since it is directly linked to their custom needs. For instance a common use could be to pass client side collected records to the LogRecorder.
If someone can post a fully working example of a Client side Handler that creates and fills up Record instances which can be forwarded to our Record Processors, I would be very gratefull.

Kind regards
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/791471#791471]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Alessio Soldano
2013-01-14 10:20:40 UTC
Permalink
Alessio Soldano [https://community.jboss.org/people/asoldano] created the discussion

"Re: Client side JBossWS Records Management"

To view the discussion, visit: https://community.jboss.org/message/791494#791494

--------------------------------------------------------------
Which JBossWS / JBossAS version are you working on?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/791494#791494]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Steve Schols
2013-01-14 11:05:29 UTC
Permalink
Steve Schols [https://community.jboss.org/people/steveschols] created the discussion

"Re: Client side JBossWS Records Management"

To view the discussion, visit: https://community.jboss.org/message/791519#791519

--------------------------------------------------------------
According to the referenced libraries, we are using jbossws-framework-3.2.2.GA on a JBoss Enterprise SOA Platform 5.3.0.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/791519#791519]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Loading...