[ 
http://jira.codehaus.org/browse/XFIRE-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88804
 ] 

william commented on XFIRE-899:
-------------------------------

If I do not generate a wsdl and just make calls the various methods of the 
webservice, I only get this error when the method returns nested objects.  It 
will work fine if there is only a depth of one but if for example I have:

MyObject has a list of MyObjects it will fail.

> Xifre giving an ClassCastException during wsdl generation for nested java 5.0 
> generic types objects 
> ----------------------------------------------------------------------------------------------------
>
>                 Key: XFIRE-899
>                 URL: http://jira.codehaus.org/browse/XFIRE-899
>             Project: XFire
>          Issue Type: Bug
>          Components: Aegis Module
>    Affects Versions: 1.2.4
>         Environment: Windows XP, Weglogic 9.2, Eclipse 3.2.0, MyEclipse 5.0
>            Reporter: william
>         Assigned To: Dan Diephouse
>            Priority: Blocker
>
> I am using XFIRE 1.2.4
> I get this error for classes that have nested Objects that are 5.0 Generic.  
> Example.
> MyObject<G extends MyObject>{
>   List<G> x;//will contain a list of more MyObject's
> }
> java.lang.ClassCastException: 
> sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl
>       at 
> org.codehaus.xfire.aegis.type.DefaultTypeCreator.createCollectionType(DefaultTypeCreator.java:48)
>       at 
> org.codehaus.xfire.aegis.type.java5.Java5TypeCreator.createCollectionType(Java5TypeCreator.java:159)
>       at 
> org.codehaus.xfire.aegis.type.XMLTypeCreator.createCollectionType(XMLTypeCreator.java:181)
>       at 
> org.codehaus.xfire.aegis.type.AbstractTypeCreator.createTypeForClass(AbstractTypeCreator.java:90)
>       at 
> org.codehaus.xfire.aegis.type.AbstractTypeCreator.createType(AbstractTypeCreator.java:367)
>       Truncated. see log file for complete stacktrace

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to