spoolofdesign
asked on
How do I use Java to print XML without printing the SOAP envelope?
Hi there,
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?
Thanks!
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?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.