[jboss-user] [JBoss Web Services] - Client side JBossWS Records Management

Steve Schols do-not-reply at jboss.com
Mon Jan 14 04:38:20 EST 2013

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.

I cannot find any example of Client side Records Management, and the JBoss documentation states the following:
> 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

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130114/d0dde72b/attachment-0001.html 

More information about the jboss-user mailing list