File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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?