I have a Java class which uses WebServices to extract information. I have my SOAP logging turned on so that in my log file I can see the SOAP envelope as well as the XML itself. However, I really just want that log file to have only the XML so that I can then use that file as input into another class that will use xPath to parse the data. If I turn off the SOAP logging, then I also lose the XML printout. How can I just get the XML messages to print without all that SOAP before and after it?