[ http://jira.codehaus.org/browse/XFIRE-491?page=comments#action_79777 ] Ram commented on XFIRE-491: ---------------------------
This issue still occurs even after I upgraded to XFire version 1.2.2. I use JSR 181 annotations and I am using JBoss's web container. Here is the services.xml I use to configure XFire services. <beans xmlns="http://xfire.codehaus.org/config/1.0"> <service> <serviceClass>com.test.mymodule.MyTestWSImpl</serviceClass> <serviceFactory>jsr181</serviceFactory> </service> </bean> The method that's giving this problem is part of the above class, MyTestWSImpl. > Xifre giving an exception during wsdl generation for 5.0 type like > List<long[]> > ------------------------------------------------------------------------------- > > Key: XFIRE-491 > URL: http://jira.codehaus.org/browse/XFIRE-491 > Project: XFire > Issue Type: Bug > Affects Versions: 1.1 > Environment: Windows > Reporter: Ram > Assigned To: Dan Diephouse > > Xfire gives nested exception is java.lang.ClassCastException: > sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl > while creating wsdl for the following method.. > public List<Long[]> test() { > // for simplicity, this method is changed to just return null. > return null; > } > Here is the full stack trace.. > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'org.codehaus.xfire.spring.ServiceBean' defined in class path > resource [META-INF/xfire/services.xml]: Initialization of bean failed; nested > exception is java.lang.ClassCastException: > sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:370) > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226) > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147) > > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275) > > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318) > > org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:102) > > org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLoader.java:38) > > org.codehaus.xfire.transport.http.XFireConfigurableServlet.loadConfig(XFireConfigurableServlet.java:75) > > org.codehaus.xfire.transport.http.XFireConfigurableServlet.createXFire(XFireConfigurableServlet.java:51) > > org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:43) > javax.servlet.GenericServlet.init(GenericServlet.java:211) > > org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) > > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) > > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > > org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481) > > com.oreilly.tomcat.valves.BadInputFilterValve.invoke(BadInputFilterValve.java:269) > > com.yahoo.sm.ads.tools.valve.EncodingFilterValve.invoke(EncodingFilterValve.java:25) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > > org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) > java.lang.Thread.run(Thread.java:595) > If there is something that I am missing here, please let me know. -- 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
