[
http://jira.codehaus.org/browse/XFIRE-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87777
]
Tom Lambrechts commented on XFIRE-868:
--------------------------------------
The documentation only mentions marshalling of return types, does it also
referes to parameters?
What should be the behaviour?
When I add the jaxb.search.packages they are added correctly to the JaxbContext
for marshalling and unmarshalling.
But how should inheritance of return types and parameters supposed to be
reflected in the WSDL? I do not see any code in the JaxbWsdlBuilder to add also
the possible complex types of the subclassed types. Should this not be the case?
R.
Tom
> 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