Hi guys,
I think should have describe my problem more clearly. I am using xml beans to construct the soap message. my soap message has a message header in the header field. The message header itself is a xml defined by the schema. I am converting these schemas in to
java bean format using xml beans. The process I am following is:
1. form message header(xml).
2. form bodyXml (which is again defined by a seperate schema)
3. using saaj form soap request
4. get the soap header
5.
add message header(xml) to the header 6. get soap body
7. add bodyXml to soap body
8. send soap message
In the above steps I can't able to perform the 5th step.Please suggest me if there is any way to achive this.