Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HOW TO INCLUDE AN XML DOCUMENT IN THE SOAPHEADER?

 
Preethi Doss
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic