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 "Nikhil Thaker (JIRA)" <ji...@apache.org> on 2007/02/15 21:16:05 UTC

[jira] Created: (AXIS2-2194) Proxy InvokeAsync not processing user defined faults correctly

Proxy InvokeAsync not processing user defined faults correctly
--------------------------------------------------------------

                 Key: AXIS2-2194
                 URL: https://issues.apache.org/jira/browse/AXIS2-2194
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Nikhil Thaker


Invoke Asyc on the client side is not processing the user defines faults correctly. The problem is for every Async scenario when a user throws a fault we throw a ProtocolException,
I found that wsImport does not add the user defined exception in the Async method signature (which is correct as we would expect Execution Exception from future) hence the OperationDescription is never able to create the FaultDescription object for user defined exception. The Fault descripion is created for the operation that is defined in wsdl.
So I am adding the code where in we now read the fault description from the OperationDescription for wsdl defined operation and there by throw the correct Exception.

-- 
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] Closed: (AXIS2-2194) Proxy InvokeAsync not processing user defined faults correctly

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

Nikhil Thaker closed AXIS2-2194.
--------------------------------


> Proxy InvokeAsync not processing user defined faults correctly
> --------------------------------------------------------------
>
>                 Key: AXIS2-2194
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2194
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Nikhil Thaker
>         Attachments: JIRA_2194_customException.txt
>
>
> Invoke Asyc on the client side is not processing the user defines faults correctly. The problem is for every Async scenario when a user throws a fault we throw a ProtocolException,
> I found that wsImport does not add the user defined exception in the Async method signature (which is correct as we would expect Execution Exception from future) hence the OperationDescription is never able to create the FaultDescription object for user defined exception. The Fault descripion is created for the operation that is defined in wsdl.
> So I am adding the code where in we now read the fault description from the OperationDescription for wsdl defined operation and there by throw the correct Exception.

-- 
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-2194) Proxy InvokeAsync not processing user defined faults correctly

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

Nikhil Thaker resolved AXIS2-2194.
----------------------------------

    Resolution: Fixed

patch commited 
revision #508128

> Proxy InvokeAsync not processing user defined faults correctly
> --------------------------------------------------------------
>
>                 Key: AXIS2-2194
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2194
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Nikhil Thaker
>         Attachments: JIRA_2194_customException.txt
>
>
> Invoke Asyc on the client side is not processing the user defines faults correctly. The problem is for every Async scenario when a user throws a fault we throw a ProtocolException,
> I found that wsImport does not add the user defined exception in the Async method signature (which is correct as we would expect Execution Exception from future) hence the OperationDescription is never able to create the FaultDescription object for user defined exception. The Fault descripion is created for the operation that is defined in wsdl.
> So I am adding the code where in we now read the fault description from the OperationDescription for wsdl defined operation and there by throw the correct Exception.

-- 
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-2194) Proxy InvokeAsync not processing user defined faults correctly

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

Nikhil Thaker reassigned AXIS2-2194:
------------------------------------

    Assignee: Nikhil Thaker

> Proxy InvokeAsync not processing user defined faults correctly
> --------------------------------------------------------------
>
>                 Key: AXIS2-2194
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2194
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Nikhil Thaker
>
> Invoke Asyc on the client side is not processing the user defines faults correctly. The problem is for every Async scenario when a user throws a fault we throw a ProtocolException,
> I found that wsImport does not add the user defined exception in the Async method signature (which is correct as we would expect Execution Exception from future) hence the OperationDescription is never able to create the FaultDescription object for user defined exception. The Fault descripion is created for the operation that is defined in wsdl.
> So I am adding the code where in we now read the fault description from the OperationDescription for wsdl defined operation and there by throw the correct Exception.

-- 
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-2194) Proxy InvokeAsync not processing user defined faults correctly

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

Nikhil Thaker updated AXIS2-2194:
---------------------------------

    Attachment: JIRA_2194_customException.txt

> Proxy InvokeAsync not processing user defined faults correctly
> --------------------------------------------------------------
>
>                 Key: AXIS2-2194
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2194
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Nikhil Thaker
>         Attachments: JIRA_2194_customException.txt
>
>
> Invoke Asyc on the client side is not processing the user defines faults correctly. The problem is for every Async scenario when a user throws a fault we throw a ProtocolException,
> I found that wsImport does not add the user defined exception in the Async method signature (which is correct as we would expect Execution Exception from future) hence the OperationDescription is never able to create the FaultDescription object for user defined exception. The Fault descripion is created for the operation that is defined in wsdl.
> So I am adding the code where in we now read the fault description from the OperationDescription for wsdl defined operation and there by throw the correct Exception.

-- 
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