This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to print javax.xml.soap.SOAPElement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to print javax.xml.soap.SOAPElement" Watch "How to print javax.xml.soap.SOAPElement" New topic

How to print javax.xml.soap.SOAPElement

john Mat

Joined: Sep 18, 2008
Posts: 4
I am receiving an javax.xml.soap.SOAPElement from a webservice.
SOAPElement soapElement = port.findParty("35020722624");

I want to print the entire XML in the soapElement . how can i do that ?please let me know asap.
[ September 21, 2008: Message edited by: Bear Bibeault ]
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
Use Handlers, one example is shown here.

My Blog
I agree. Here's the link:
subject: How to print javax.xml.soap.SOAPElement
Similar Threads
After prototyping WS..still have few questions...
Publishing javax.xml.soap.SOAPElement
from Dom Element to SOAPElement
How to convert xml file to javax.xml.soap.SOAPElement [ ] array?
Putting string in soap message