Web service XML logging

1 view
Skip to first unread message

Jason Purcell

unread,
Nov 16, 2010, 3:27:55 AM11/16/10
to CTJUG...@googlegroups.com
Good day,

I am using javax.jws.* annotations to create a web service.

How do I log incoming and outgoing XML?

I know how to do it with a SOAP handler when consuming a web service, but not when I am the one providing the service.

I tried using a filter servlet, but the code inside it isn't called.

Kind regards,
Jason.


Michael Wiles

unread,
Nov 16, 2010, 5:08:18 AM11/16/10
to ctjug...@googlegroups.com
the naive approach is to use a listener at the tcp level. A bridge between your nodes that will log and then pass on. TrivialProxy can do this.



--
You received this message because you are subscribed to the Google Groups "CTJUG Tech" group.
To post to this group, send email to CTJUG...@googlegroups.com
To unsubscribe from this group, send email to CTJUG-Tech+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/CTJUG-Tech?hl=en
For Cape Town Java User Group home page see http://www.ctjug.org.za/
For jobs see http://jobs.gamatam.com/



--
see my blog:
http://analysis102.blogspot.com
http://audiblethoughts.blogspot.com
http://outsideofficehours.blogspot.com
Reply all
Reply to author
Forward
0 new messages