As Vinay suggested, take a look at the LoggingFeature and Logging Interceptors [1]. If you only need to log the outgoing request from your client, and not the service provider's response, consider activating only the LoggingOutInterceptor.
[1] http://cxf.apache.org/docs/debugging-and-logging.html Regards, Raúl. On 14/11/2011 20:01, "Penmatsa, Vinay" <[email protected]> wrote: >I think you can LoggingFeature in the client to get that > >Bus bus = BusFactory.getDefaultBus(); >List<AbstractFeature> features = new ArrayList<AbstractFeature>(); >features.add(new LoggingFeature()); >for(AbstractFeature feature : features) { > feature.initialize(bus); >} > >-Vinay > > >-----Original Message----- >From: Ángel L García Sánchez [mailto:[email protected]] >Sent: Monday, November 14, 2011 2:22 PM >To: [email protected] >Subject: XML of client request > >Hi. > >How can i see the XML of a client request? > >I use eclipse and CXF to build a WS client, configure the client via the >API, and i need get the XML of the client request, but i don't know how. > >Can someone help me? > >Thanks and best regards.
