Bug report #16173

Updated by Even Rouault almost 7 years ago

The url I add for the WFS service works fine for getting the capabilities and is a proxy, e.g. http://www.originalurl.com/wfs?...



The capabilities sent back has different urls for each request type, e.g.

<ows:Operation name="DescribeFeatureType">

<ows:DCP>

<ows:HTTP>

<ows:Get xlink:type="simple" xlink:href="http://www.anotherurl.com/wfs?...&"/>

<ows:Post xlink:type="simple" xlink:href="http://www.anotherurl.com/wfs?...&"/>

</ows:HTTP>

</ows:DCP>

<ows:Parameter name="outputFormat">

<ows:Value>XMLSCHEMA</ows:Value>

<ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>

<ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>

</ows:Parameter>

</ows:Operation>



Unfortunately these urls appear to be being ignored and the original url is still being used for all following request types (DescribeFeatureType, GetFeature,etc).



What I want is for the GetCapabilities to go through the proxy and all other requests to go direct to the server direct. This should be possible if the urls in the capabilities document are used.



WMS works correctly using the urls supplied in the capabilities (GetFeatureInfo, GetMap, etc).



I am using QGIS 2.14.5-Essen 64bit on XUbuntu 16.10.

Back