Skip to content
Permalink
Browse files

Fixes post element in WFS GetCapabilities doc

  • Loading branch information
pblottiere committed Jul 6, 2018
1 parent 1ac5e29 commit ac9ff0810b5fbc9a95a9c34a08d6c15d180f1b87
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/server/services/wfs/qgswfsgetcapabilities.cpp
@@ -333,9 +333,12 @@ namespace QgsWfs
QDomElement getElement = doc.createElement( QStringLiteral( "ows:Get" ) );
getElement.setAttribute( QStringLiteral( "xlink:type" ), QStringLiteral( "xlink:simple" ) );
getElement.setAttribute( QStringLiteral( "xlink:href" ), hrefString );
QDomElement postElement = getElement.cloneNode().toElement();
httpElement.appendChild( getElement );

QDomElement postElement = doc.createElement( QStringLiteral( "ows:Post" ) );
postElement.setAttribute( QStringLiteral( "xlink:href" ), hrefString );
httpElement.appendChild( postElement );

dcpElement.appendChild( httpElement );
operationElement.appendChild( dcpElement );

0 comments on commit ac9ff08

Please sign in to comment.
You can’t perform that action at this time.