You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Javier Kohen (JIRA)" <ji...@apache.org> on 2007/02/05 18:04:05 UTC

[jira] Created: (AXIS2-2113) Async. invocation error not using exception class from databinding

Async. invocation error not using exception class from databinding
------------------------------------------------------------------

                 Key: AXIS2-2113
                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.1.1
         Environment: Java 6. Using Axis2 server to host the webservice.
            Reporter: Javier Kohen


When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.

The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2113) Async. invocation error not using exception class from databinding

Posted by "Javier Kohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Javier Kohen updated AXIS2-2113:
--------------------------------

    Attachment: xmlbeanstestcase.zip

Test case updated to work with Axis 1.2.

You can use netcat to avoid having to load the service. I use it like this: nc6 -l -p 8080 --continuous --exec="cat response.http"

Here, response.http was generated by capturing the service's traffic.

> Async. invocation error not using exception class from databinding
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2113
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Java 6. Using Axis2 server to host the webservice.
>            Reporter: Javier Kohen
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: xmlbeanstestcase.zip
>
>
> When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.
> The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2113) Async. invocation error not using exception class from databinding

Posted by "Javier Kohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Javier Kohen updated AXIS2-2113:
--------------------------------

    Attachment: xmlbeanstestcase.zip

Slightly modified version of the XMLBeans quick start example that's bundled with Axis2 1.1.1. See bug description for more information.

> Async. invocation error not using exception class from databinding
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2113
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Java 6. Using Axis2 server to host the webservice.
>            Reporter: Javier Kohen
>         Attachments: xmlbeanstestcase.zip
>
>
> When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.
> The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-2113) Async. invocation error not using exception class from databinding

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2113:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Async. invocation error not using exception class from databinding
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2113
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Java 6. Using Axis2 server to host the webservice.
>            Reporter: Javier Kohen
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: xmlbeanstestcase.zip
>
>
> When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.
> The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2113) Async. invocation error not using exception class from databinding

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2113.
-------------------------------------

    Resolution: Fixed

> Async. invocation error not using exception class from databinding
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2113
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Java 6. Using Axis2 server to host the webservice.
>            Reporter: Javier Kohen
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: async-fault-fix.diff, xmlbeanstestcase.zip
>
>
> When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.
> The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2113) Async. invocation error not using exception class from databinding

Posted by "Javier Kohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Javier Kohen updated AXIS2-2113:
--------------------------------

    Attachment:     (was: xmlbeanstestcase.zip)

> Async. invocation error not using exception class from databinding
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2113
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Java 6. Using Axis2 server to host the webservice.
>            Reporter: Javier Kohen
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: xmlbeanstestcase.zip
>
>
> When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.
> The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2113) Async. invocation error not using exception class from databinding

Posted by "Javier Kohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Javier Kohen updated AXIS2-2113:
--------------------------------

    Attachment: async-fault-fix.diff

This patch fixes the issue by borrowing code from the synchronous fault handler in the same file.

> Async. invocation error not using exception class from databinding
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2113
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Java 6. Using Axis2 server to host the webservice.
>            Reporter: Javier Kohen
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: async-fault-fix.diff, xmlbeanstestcase.zip
>
>
> When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.
> The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2113) Async. invocation error not using exception class from databinding

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518065 ] 

Davanum Srinivas commented on AXIS2-2113:
-----------------------------------------

Already fixed in svn.

thanks,
dims

> Async. invocation error not using exception class from databinding
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2113
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2113
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.1.1
>         Environment: Java 6. Using Axis2 server to host the webservice.
>            Reporter: Javier Kohen
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: async-fault-fix.diff, xmlbeanstestcase.zip
>
>
> When using async. service invocation on the client side, exceptions are not passed as the databinding-specified class, but as AxisFault instances.
> The attached test case is a slightly modified version of the XMLBeans quick start example, so that it always returns a fault when the service is invoked. The included client will try both an async. and a sync. invocation of the service. It is expected that both will show "code=code; string=string," meaning that the ServiceDownMessageException class was recognized as such, but in my tests only the sync. code works as expected.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org