Hi.
I still had some older (and not quite compatible) duplicate classes prior in the CLASSPATH.
;-) Well, I guess, it still helps, doing things right ... ;-)
Regards. Joerg
p.s.
<1> Dennis, when do you think jibx and jibxsoap might be robust and stable enough for 1.0-releases? Are you able to give some estimate, either based on the current situation or based on a scenario where a good sponsor comes into play.
<2> Perhaps, a little offtopic is this question: Dennis, what do _you_ expect from Axis2?
Joerg Buchberger wrote:
Hi all.
One of my mappings is abstract and contains one collection. Some sub mappings extend that abstract mapping. The purpose behind is to resemble a tree-like structure.
The binding is used for a jibxsoap-based webservice.
The java objects are setup correctly, with dozens of children nodes upto a depth of 5. But, when being marshalled, I got only the top two hierarchy levels, which looked like so, unfortunately:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <site> <base id="1" name="London-II"> <comment>Turbine-Gen</comment> <site> <base id="2" name="PLANT pumps"> <comment></comment> </base> </site> <site> <base id="554" name="PLANT fans"> <comment></comment> </base> </site> </base> </site> </SOAP:Body> </SOAP:Envelope>
This is my simplified mapping:
<?xml version="1.0" encoding="UTF-8"?>
<binding>
<mapping name="base" class="nik.data.tree.Node" abstract="true">
<value style="attribute" name="id" field="nodeId" />
<value style="attribute" name="name" field="nodeName" />
<value name="comment" field="treeComment" />
<collection field="Children" usage="optional" />
</mapping>
<mapping name="site" class="nik.data.tree.LocationNode" extends="nik.data.tree.Node" >
<structure map-as="nik.data.tree.Node" />
</mapping>
<mapping name="machine" class="nik.data.tree.MachineNode" extends="nik.data.tree.Node">
<structure map-as="nik.data.tree.Node" />
<value name="power" field="power" />
<value name="speed" field="speed" />
</mapping>
</binding>
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
