Hi Jeol, If the problem is not yet solved, then you can try this: add the boolean parameter by calling this function: call.addParameter("arg1",org.apache.axis.encoding.XMLType.XSD_BOOLEAN, ParameterMode.IN);
and while invoking the service use: call.invoke( new Object[] {new Boolean(boolean value) } ); This will send the boolean value to a function which takes "boolean" as paramater hope this solves your problem. regards Venkatesh > 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 -> 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