axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Valine (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5435) Axis2 BeanUtil doesn't appear to support is/has getter forms for fields.
Date Thu, 11 Oct 2012 15:35:03 GMT


Thomas Valine commented on AXIS2-5435:

Hi Shameera,

It looks like POJO's using autobox boolean type do not support the is/has naming convention.
java.lang.RuntimeException: java.lang.RuntimeException: org.apache.axis2.AxisFault: The service
cannot be found for the endpoint reference (EPR) http://localhost:8082/api/call/<REMOVED>
is thrown if I use the following style of autoboxed POJO.

public class Foo {
    private Boolean bar;
    public Boolean isBar() {
        return bar;
    public void setBar(Boolean bar) { = bar;

The endpoint is generated correctly if the following style of primitive POJO is used.

public class Foo {
    private boolean bar;
    public boolean isBar() {
        return bar;
    public void setBar(boolean bar) { = bar;

> Axis2  BeanUtil doesn't appear to support is/has getter forms for fields.
> -------------------------------------------------------------------------
>                 Key: AXIS2-5435
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>         Environment: Windows 7 64. Java 1.7
>            Reporter: Thomas Valine
>              Labels: adb, databinding
> Binding POJO's having boolean getter methods of the form isBool, hasBool doesn't appear
to work.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message