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 "Dustin Amrhein (JIRA)" <ji...@apache.org> on 2007/08/17 23:30:31 UTC
[jira] Created: (AXIS2-3129) ProviderDispatcher in JAX-WS does not
allow for non-parameterized interfaces on provider implementation
ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on provider implementation
-------------------------------------------------------------------------------------------------------
Key: AXIS2-3129
URL: https://issues.apache.org/jira/browse/AXIS2-3129
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Affects Versions: nightly
Reporter: Dustin Amrhein
Fix For: nightly
The ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on a provider based implementation. This causes a ClassCastException in the getProviderType method as the code assumes that the result of calling getGenericInterfaces on the implementation Class object will result in an array of ParameterizedTypes. If an object is not in the array is not an instance of a ParameterizedType then an exception is thrown. This check should only be done if the interface in question is the javax.xml.ws.Provider interface. Web service provider implementations should be free to implement other, non-parameterized interfaces.
--
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-3129) ProviderDispatcher in JAX-WS does not
allow for non-parameterized interfaces on provider implementation
Posted by "Dustin Amrhein (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dustin Amrhein updated AXIS2-3129:
----------------------------------
Attachment: patch.txt
> ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on provider implementation
> -------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3129
> URL: https://issues.apache.org/jira/browse/AXIS2-3129
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: nightly
> Reporter: Dustin Amrhein
> Fix For: nightly
>
> Attachments: patch.txt
>
>
> The ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on a provider based implementation. This causes a ClassCastException in the getProviderType method as the code assumes that the result of calling getGenericInterfaces on the implementation Class object will result in an array of ParameterizedTypes. If an object is not in the array is not an instance of a ParameterizedType then an exception is thrown. This check should only be done if the interface in question is the javax.xml.ws.Provider interface. Web service provider implementations should be free to implement other, non-parameterized interfaces.
--
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-3129) ProviderDispatcher in JAX-WS does not
allow for non-parameterized interfaces on provider implementation
Posted by "Jeff Barrett (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Barrett resolved AXIS2-3129.
---------------------------------
Resolution: Fixed
Patch committed to revision 568722. Thanks, Dustin!
> ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on provider implementation
> -------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3129
> URL: https://issues.apache.org/jira/browse/AXIS2-3129
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: nightly
> Reporter: Dustin Amrhein
> Assignee: Jeff Barrett
> Fix For: nightly
>
> Attachments: patch.txt
>
>
> The ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on a provider based implementation. This causes a ClassCastException in the getProviderType method as the code assumes that the result of calling getGenericInterfaces on the implementation Class object will result in an array of ParameterizedTypes. If an object is not in the array is not an instance of a ParameterizedType then an exception is thrown. This check should only be done if the interface in question is the javax.xml.ws.Provider interface. Web service provider implementations should be free to implement other, non-parameterized interfaces.
--
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-3129) ProviderDispatcher in JAX-WS does not
allow for non-parameterized interfaces on provider implementation
Posted by "Jeff Barrett (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Barrett reassigned AXIS2-3129:
-----------------------------------
Assignee: Jeff Barrett
> ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on provider implementation
> -------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3129
> URL: https://issues.apache.org/jira/browse/AXIS2-3129
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Affects Versions: nightly
> Reporter: Dustin Amrhein
> Assignee: Jeff Barrett
> Fix For: nightly
>
> Attachments: patch.txt
>
>
> The ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on a provider based implementation. This causes a ClassCastException in the getProviderType method as the code assumes that the result of calling getGenericInterfaces on the implementation Class object will result in an array of ParameterizedTypes. If an object is not in the array is not an instance of a ParameterizedType then an exception is thrown. This check should only be done if the interface in question is the javax.xml.ws.Provider interface. Web service provider implementations should be free to implement other, non-parameterized interfaces.
--
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