Inheritance does not work
-------------------------

                 Key: XFIRE-965
                 URL: http://jira.codehaus.org/browse/XFIRE-965
             Project: XFire
          Issue Type: Bug
          Components: Spring
    Affects Versions: 1.2
         Environment: JDK 1.5
            Reporter: Franck HUGOT
            Assignee: Dan Diephouse


I declare this bean in my spring config file :

<bean id="simulationServiceExport" 
class="org.codehaus.xfire.spring.remoting.XFireExporter">
<property name="properties">
<map>
<entry key="writeXsiType">
<value type="java.lang.Boolean">true</value>
</entry>
<entry key="overrideTypesList">
<list>
<value>com.sofinco.soffwk.metiers.demo.beans.BaremeSimu</value>
</list>
</entry>
</map>
</property>


When I try to access the spring service via XfireExporter I get this log :

2007-04-24 18:52:23,223 INFO - 
xsi:type="{http://beans.demo.metiers.soffwk.sofinco.com}BaremeSimu"; was 
specified, but no corresponding Type was registered; defaulting to 
{http://beans.demo.metiers.soffwk.sofinco.com}Bareme 

So I only retrieve Bareme object instead of BaremeSimu object (BaremeSimu 
inherits Bareme).


Thanks in advance.


-- 
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