JAXB inheritance not working on 1.2.4
-------------------------------------

                 Key: XFIRE-868
                 URL: http://jira.codehaus.org/browse/XFIRE-868
             Project: XFire
          Issue Type: Bug
          Components: JAXB 2.0
    Affects Versions: 1.2.4
         Environment: Windows XP, Tomcat 5.5.20

            Reporter: Michael Coughlan
         Assigned To: Dan Diephouse


Hi,
I am writing a web service in Xfire, which has a parameter , that requires the 
use of Inherited classes.

I configured the service using JAXB, following the instructions on 
http://xfire.codehaus.org/JAXB+2.0 , specifically, the JAXB inheritance 
section. This involved adding a section to my services.xml file which looked 
like this:

<property xmlns="" name="properties">
        <map xmlns="">
        <entry  xmlns="" key="jaxb.search.packages">
            <value  xmlns="">
                <list  xmlns="">
                  <value xmlns="">com.mysubclass</value>
                </list>
            </value>
        </entry>
        </map>
    </property>

The problem however, is that the runtime WSDL generated by XFire, has no 
reference to the subclass as it is not listed as a "complexType". The parent 
class, which "mysubclass" extends, however is decribed within the runtime WSDL. 
This impacts my webservice in that, the object passed into the web service 
method (an instanceof the "mysubclass" ) appears as a instance of the parent 
class internally. 

Can anyone help with this issue ?

Thanks






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