Hi Ben,

I've changed my pk_id mapping to use a sourceExpression instead of an 
idExpression as suggested. 

Regarding the geometry issue, I can confirm that I've created both 
workspaces/gml/namespace.xml and workspaces/gml/workspace.xml. However, when I 
attempt a WFS 2.0.0 request, I still get the error "The prefix "null" 
for element "null:Envelope" is not bound."

Any suggestions? Below is my namespace.xml and workspace.xml so that there is 
no doubt:

= = = Begin workspaces/gml/namespace.xml = = =

<namespace>
    <id>gml_namespace</id>
    <prefix>gml</prefix>
    <uri>http://www.opengis.net/gml/3.2</uri>
</namespace>

= = = End workspaces/gml/namespace.xml = = =

= = = Begin workspaces/gml/workspace.xml = = =

<workspace>
    <id>gml_workspace</id>
    <name>gml</name>
</workspace>

= = = End workspaces/gml/workspace.xml = = =

Best regards,

Ryan

-----Original Message-----
From: Ben Caradoc-Davies [mailto:[email protected]] 
Sent: 18 September 2013 07:47
To: Ryan Moody
Cc: Rudy Commenge; [email protected]; Neil Kirk
Subject: Re: [Geoserver-users] App-Schema Geometry Mapping

Ryan,

did you create both workspaces/gml/namespace.xml and 
workspaces/gml/workspace.xml?

What happens if you make a WFS 2.0.0 request?

Kind regards,
Ben.

On 17/09/13 23:25, Ryan Moody wrote:
> Hi Rudy,
>
> Thanks for your suggestion - unfortunately the problem still occurs! 
> =(
>
> One thing I’ve noticed is that, although I’m using a GML 3.2.1 schema, 
> my URL request did not include the “outputFormat=gml32” setting.
>
> When I include this setting in my WFS request, I get the error:
>
> “The prefix "null" for element "null:Envelope" is not bound.”
>
> According to the documentation, this error means that I need to define 
> ‘gml’ as a secondary namespace, which I have done as described in
>
> http://docs.geoserver.org/stable/en/user/data/app-schema/supported-gml
> -versions.html#secondary-namespace-for-gml-3-2-1-required
>
> However, I’m still getting the same “The prefix "null" for element 
> "null:Envelope" is not bound.” error message.
>
> I should point out that my GMLAS has to be version 3.2.1.
>
> Any suggestions on how I can resolve this error message and get my 
> geometry mapping across?
>
> Many thanks,
>
> Ryan

--
Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth 
Science and Resource Engineering Australian Resources Research Centre
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to