Hi all,
I'd like to add some header by the means of a hander. The handler creates some SOAPHeaderElement objects and adds them to the envelope. My only problem is that in case of using MessageElement objects and their descendants the xsi:type attribute always gets set. Calling removeAttribute or setType does not help. :( I know it can be turned off somewhere in SerializationContext, but the rest of the message should remain intact. What do you suggest ? I wouldn't want to convert the envelope in Document then back to SOAPEnvelope. Is there a good way to handle this ? Thanx, Geza.
