axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Felarca <gennad...@yahoo.com>
Subject Re: Question about xsd:anyType arrays in doc/literal wrapped mode
Date Fri, 17 Jun 2005 01:57:04 GMT
Thank you very much for the clarification Anne! 

--- Anne Thomas Manes <atmanes@gmail.com> wrote:

> An instance of an array may contain only one type,
> even if you define
> that type as anyType.
> 
> Anne
> 
> On 6/15/05, Mario Felarca <gennadius@yahoo.com>
> wrote:
> > Hello,
> > 
> > First I would like to say thank you to everyone
> that
> > has contributed to this list. While I have lurked
> and
> > been helped a lot by information here, I have not
> had
> > a chance up until now to say thanks, so, thanks.
> :)
> > 
> > My question has to deal with arrays. I have looked
> > over the archives, and a lot of these questions
> come
> > up, but I never saw a definitive answer (or I
> missed
> > it). A lot of these questions came up around the
> > encoded to doc/literal  transition threads.
> > 
> > Basically, if I have an array that I want to go
> over
> > the wire, and that contents of that array can be
> > anything, why is it that if the contents are
> (coming
> > from the Java side of things) a String, a Boolean
> and
> > an Integer, I get the "Found character data inside
> an
> > array element while deserializing" exception.
> > 
> > If the array is xsd:anyType, does that still
> constrain
> > it to one type out of the any?
> > 
> > If not, can someone point me in the direction that
> I
> > probably need to look to figure out why this is?
> > 
> > Thanks much in advance,
> > 
> > Mario-
> > 
> >
> 


Mime
View raw message