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 "Jeff Barrett (JIRA)" <ji...@apache.org> on 2007/08/22 20:28:30 UTC

[jira] Assigned: (AXIS2-3129) ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on provider implementation

     [ 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