Hi
I use geoserver in restricted place like DMZ. My instance don’t have connection
to the internet, like external traffic. Hostname instance with geoserver don’t
equals hostname that users use for requests.
I send my request to /geoserver/wfs and i have to have wait very long time
response. This problem have got because geotools create schema. I think server
use scheme for validation request. You can have seen its here
https://github.com/geotools/geotools/blob/893f29f51ba4ac29a90242d5a1e928e3a2f042ab/modules/extension/xsd/xsd-core/src/main/java/org/geotools/xml/Schemas.java#L322
<https://github.com/geotools/geotools/blob/893f29f51ba4ac29a90242d5a1e928e3a2f042ab/modules/extension/xsd/xsd-core/src/main/java/org/geotools/xml/Schemas.java#L322>
I think Geotools tries getting schemes for all namespace, that have got in
request.
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.osslabs.ru/gisosslabs
http://xn----7sb7akeedqd.xn--p1ai/geoserver/wfs/DescribeFeatureType?version=1.1.0&;typename=gisosslabs:sc_points_view"><wfs:Query
typeName="feature:sc_points_view" srsName="EPSG:4326"
xmlns:feature="http://www.osslabs.ru/gisosslabs"><ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>geom</ogc:PropertyName><gml:Envelope
xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:4326"><gml:lowerCorner>49.211610914758
53.550162528275</gml:lowerCorner><gml:upperCorner>49.226631285242
53.556689208807</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>
But link
(http://xn----7sb7akeedqd.xn--p1ai/geoserver/wfs/DescribeFeatureType?version=1.1.0&;typename=gisosslabs:sc_points_view)
don’t available from instance Geoserver and i think this is not make sense.
Important! My instance can resolve ip for name xn----7sb7akeedqd.xn——p1ai, but
it don’t have connectivity with that ip..
I added hostname xn----7sb7akeedqd.xn——p1ai with local ip to my /etc/hosts file
and resolve my issue, but i think it is bug.
Regards.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel