Error converting xml response to json response (XmlValueNotSupportedException: Could not get a Java boolean type from a Schema complex type) --------------------------------------------------------------------------------------------------------------------------------------------
Key: XMLBEANS-440 URL: https://issues.apache.org/jira/browse/XMLBEANS-440 Project: XMLBeans Issue Type: Bug Affects Versions: Version 2.4 Reporter: rams.rapo Hi, I'm trying out a sample to convert existing webservice (developed using top down approaches with schema's (xsd)) using spring json view resolver. It throws below error when trying to convert it. Is there any configuration we could override to have xmlbeans use derived classes instead of other. This may not be a bug, i may be doing something naive.. tried searching on net but couldn't find any pointers. Error: org.apache.xmlbeans.impl.values.XmlValueNotSupportedException: Could not get a Java boolean type from a Schema complex type at org.apache.xmlbeans.impl.values.XmlObjectBase.getBooleanValue(XmlObjectBase.java:1645) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.jackson.map.ser.BeanPropertyWriter.get(BeanPropertyWriter.java:285) at org.codehaus.jackson.map.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:240) at org.codehaus.jackson.map.ser.BeanSerializer.serializeFields(BeanSerializer.java:146) at org.codehaus.jackson.map.ser.BeanSerializer.serialize(BeanSerializer.java:118) at org.codehaus.jackson.map.ser.MapSerializer.serializeFields(MapSerializer.java:202) at org.codehaus.jackson.map.ser.MapSerializer.serialize(MapSerializer.java:138) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org