[geotk] sos observations and measurements (om) parsing

Guilhem guilhem.legal at geomatys.fr
Wed Dec 3 06:18:58 PST 2014


hi juergen,

I think you are missing the xsi:type attribute on yours result part. 
without it, JAXB can determine which type of object it has to 
instanciate, so it build a DOM sub-tree.


ex:
<om:result xsi:type="swe:DataArrayPropertyType">
                 <swe:DataArray id="array-1">
                     <swe:elementCount>
                         .................
                         .................
                         .................


Guilhem Legal

Le 03/12/2014 14:43, juergen sorg a écrit :
> hi,
>
> when i parse a om document responded from a sos the result element 
> (containing the data (observations)) is not unmarshalled, but a dom node.
>
> which libraries (jars) i must have within the class path?
> the result section of the om doc (ObservationCollectionType) contains 
> a swe DataArray
>
> thanks in advance
>
> gruss juergen
>
>
>
> _______________________________________________
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geotoolkit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20141203/16f31c30/attachment.html>


More information about the Geotoolkit mailing list