Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes HOW TO INCLUDE AN XML DOCUMENT IN THE SOAPHEADER? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "HOW TO INCLUDE AN XML DOCUMENT IN THE SOAPHEADER?" Watch "HOW TO INCLUDE AN XML DOCUMENT IN THE SOAPHEADER?" New topic
Author

HOW TO INCLUDE AN XML DOCUMENT IN THE SOAPHEADER?

Preethi Doss
Greenhorn

Joined: Apr 11, 2012
Posts: 1
HI All,

I have an urgent requirement in my project. I am using SAAJ API to create my Soap message. Requirement is to include the WfContext information in to the header. Not sure how to do it. As of now, i have my WFContext object converted into XML using JaxB. I have theXML Document btu not able to add the document. I am able to add XML to SOAPBody but not header. please let me know if there is a way to it. Expecting reply at the earliest.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HOW TO INCLUDE AN XML DOCUMENT IN THE SOAPHEADER?
 
Similar Threads
adding arbitary xml to soap headers using SAAJ
addHeader,setHeader
How to send a XML document??
includes with xsl and inc
Tool for generating an XSL sheet of a XML