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 Joel Carklin <jo...@innoforge.com> on 2004/06/21 10:19:13 UTC

Bad Type: axis trying to deserialize a primitive boolean

Hi all,
I have a client which calls a method on my web service which is running
on axis. One of the method parameters is a primitive boolean. I get the
following error thrown by Axis: 
org.xml.sax.SAXException: Bad types (boolean -&gt; class
my.path.to.an.Object)

It appears to me that axis is trying to deserialize the boolean in the 
and for some reason is trying to map it to an unrelated object (another
parameter in the same method). The XML tag itself looks like this:
<OpenAll xsi:type="xsd:boolean">false</OpenAll>

There is no mapping for this tag in any of the xml config files

Has anyone else you know of had this problem? 

Thanks
Joel