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 Pedro Salazar <pe...@ptinovacao.pt> on 2004/01/27 21:30:00 UTC

choice: axis permits both elements in xml?

Greetings,

I created a choice element on my schema with 2 elements. My purpose is
to assure that only of them is passed to my web service, and not all of
them. However, my axis client can make a request with the 2 elements,
and in hypothetic scenario, I never would know what object should I use
because both aren't null in my java objects types. Shouldn't the parser
validate it?

How can I workaround this issue?

thanks,
Pedro Salazar.
-- 
PS
pedro-b-salazar_at_ptinovacao_dot_pt
PGP:0E129E31D803BC61