You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ge...@nokia.com on 2002/11/11 14:46:03 UTC
How to remove xsi:type attribute ?
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.