Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for HTTPS requests #93

Open
jmckenna opened this issue Oct 21, 2020 · 1 comment
Open

support for HTTPS requests #93

jmckenna opened this issue Oct 21, 2020 · 1 comment

Comments

@jmckenna
Copy link
Member

If the host is using HTTPS, the WFS-T response will be "XML request isn't valid" such as:

<?xml version='1.0' encoding='UTF-8'?>
<ows:ExceptionReport
 xmlns='http://www.opengis.net/ows'
 xmlns:ows='http://www.opengis.net/ows'
 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
 xsi:schemaLocation='http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd'
 version='1.1.0' language='en'>
 <ows:Exception exceptionCode='InvalidParameterValue' locator='request'>
  <ows:ExceptionText>XML request isn't valid</ows:ExceptionText>
 </ows:Exception>
</ows:ExceptionReport>

where the Request was:

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.tinyows.org/ https://ms4w.dev/cgi-bin/tinyows.exe?service=wfs&amp;request=DescribeFeatureType&amp;version=1.1.0&amp;typename=tows:frida" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Insert><feature:frida xmlns:feature="http://www.tinyows.org/"><feature:geom><gml:MultiSurface xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:31467"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>3443502.4001465 5791270.3999023 3444702.4001465 5791894.3999023 3443910.4001465 5790214.3999023 3443502.4001465 5791270.3999023</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface></feature:geom></feature:frida></wfs:Insert></wfs:Transaction>
@jmckenna
Copy link
Member Author

For the record: a workaround is to set check_schema="0" in config.xml, when using HTTPS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant