I asked similar question, but about SOAP body, and it seems that only way to do it is to serialize and parse the element :-( Probably StringWriter is the best choice. It seems that you could also use DOM L3 method Document.normalizeDocument(), but I had problems with this.

I'm using soap header for session maintenance in a web service written using AXIS. I want to validate the soap header element, which I'm getting the soap request against the schema of soap header element.
Is there a direct/easy way to do this?
thanks,
Naresh

-- ------------------------------------------------------------- Marcin Okraszewski [EMAIL PROTECTED] GG: 341942 [EMAIL PROTECTED] PGP: www.okrasz.prv.pl/pgp.asc -------------------------------------------------------------




Reply via email to