• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 655
  • Last Modified:

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!
0
spoolofdesign
Asked:
spoolofdesign
1 Solution
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
Simplest solution is to take care of stripping out this soap envelope in the other application where you wanted to use Xpath. In the way you have described about turning on SOAP Loagging looks like you don't have much control (code to modify) for doing any specific changes.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now