I designed a swing application which as a client for restful webservice. Now i want to display both request and response of the webservice as the business want to see
what is the request and response that has gone to webservice as that it acts as a debug too along with viewing the data returned by restful service. I can view response xml
but request i do not know how to generate xml for webservice request from client side. Please help me.