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 "Agarwal, Naresh" <na...@informatica.com> on 2003/09/29 16:27:49 UTC
validing soap header
Hi
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
Re: validing soap header
Posted by Marcin Okraszewski <ok...@o2.pl>.
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
okrasz@o2.pl GG: 341942
okrasz@vlo.ids.gda.pl PGP: www.okrasz.prv.pl/pgp.asc
-------------------------------------------------------------