Hey guys,
 
I'm trying to use axis2 1.1.1 to expose a POJO as a webservice.  I'm
having a problem though because it seems that ADB doesn't support
boolean elements with a value of 1.  Any time you try to submit a
request with 1 for a boolean element (which should resolve to true) you
get false for that argument in the java class.  I think I have tracked
the problem down to the SimpleTypeMapper class and the following lines
of code at line 98:
 
else if (name.equals(W_BOOLEAN)) {
            return Boolean.valueOf(text);
 
What I was wondering is:  Is there any simple way to override this
behaviour so that a boolean element with a value of 1 will be intepreted
as true?  And am I on the right track with what needs to be fixed?
 
Thanks,
Brian

Reply via email to