[
https://issues.apache.org/jira/browse/AXIS2-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rich Scheuerle reopened AXIS2-2784:
-----------------------------------
Assignee: Rich Scheuerle (was: Davanum Srinivas)
This solution is not correct.
-------
4.3.2 conformance indicates that a WSE should be thrown if there is a problem
with Dispatch configuration. A ProtocolException should be thrown if there
is a error with the remote operation.
-------
Errors involved in the marshalling of the object are neither configuration or
remote. So throwing a ProtocolException is not correct and it actually is
contrary to 4.3.4.
-------
4.3.4 conformance indicates that a WSE should be thrown if a JAXBException
occurs with marshalling or unmarshalling the object.
========
Next Step:
I am going to change the code in the following ways.
A) Make sure that the code throws complies with 4.3.2 and 4.3.4.
B) Make sure that the code behaves in a similar way for invoke and invokeAsync
(the recent changes don't appear to be symmetric).
Thanks,
Rich
> When exception arises from createMessageFromValue, create Protocol specific
> exception instead of the generic WebserviceException
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2784
> URL: https://issues.apache.org/jira/browse/AXIS2-2784
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: 1.3
> Environment: win XP + SUn JDK 1.5
> Reporter: Lin Sun
> Assignee: Rich Scheuerle
> Attachments: Axis2-2784.patch
>
>
> During dispatch.invoke, we create ProtocolException via createSystemException
> if the response has fault. However, we didn't create ProtocolException if
> there is any exception when executing createMessageFromValue. Protocol
> specific exception is required when throwing an exception as a result of the
> protocol level fault.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]