axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dustin Amrhein (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3129) ProviderDispatcher in JAX-WS does not allow for non-parameterized interfaces on provider implementation
Date Sat, 18 Aug 2007 16:42:30 GMT

     [ 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


Mime
View raw message