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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to