On app-schema configuration file I have several elements with ClientProperty 
which shows the property on a WFS GetFeature response but when a ClientProperty 
is defined for a top element like the SIGMET defined below the id is returned 
but the two ClientProperties reportstatus and permissibleusage are not! Any 
ideas why ClientProperty doesn't work on a top element?
    <FeatureTypeMapping>
        <sourceDataStore>iwxxm_sigmet_postgres</sourceDataStore>
       <!-- sourceType is a database table or view -->
        <sourceType>sigmet</sourceType>
        <targetElement>iwxxm:SIGMET</targetElement>
        <attributeMappings>
            <AttributeMapping>
                <targetAttribute>iwxxm:SIGMET</targetAttribute>
                <idExpression>
                    <OCQL>gmlid</OCQL>
                </idExpression>
                <ClientProperty>
                    <name>reportStatus</name>
                    <value>reportstatus</value>
                </ClientProperty>
                <ClientProperty>
                    <name>permissibleUsage</name>
                    <value>if_then_else(isNull(permissibleusage), 
Expression.NIL, permissibleusage)</value>
                </ClientProperty>
            </AttributeMapping>

I'm getting back in the GetFeature response
<iwxxm:SIGMET gml:id="a946ee46-2cfb-4e65-8c07-e7f5f8670af01">
but it should be something like
<iwxxm:SIGMET gml:id="a946ee46-2cfb-4e65-8c07-e7f5f8670af01" 
reportStatus="NORMAL"  permissibleUsage="OPERATIONAL">



  

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of 
the intended recipient and may contain material that is proprietary, 
confidential, privileged or otherwise legally protected or restricted under 
applicable government laws. Any review, disclosure, distributing or other use 
without expressed permission of the sender is strictly prohibited. If you are 
not the intended recipient, please contact the sender and delete all copies 
without reading, printing, or saving.

_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to