[mapguide][MG96][New] MapAgent -- WFS GetFeature via HTTP POST returns 401 -- Regr...
Thomas M. Tuerke
thomas.m.tuerke at autodesk.com
Fri Mar 10 21:01:01 EST 2006
You can view the artifact detail at the following URL:
https://mapguide.osgeo.org/servlets/Scarab/id/MG96
Type
Defect
Artifact ID
MG96 (MapAgent -- WFS GetFeature via HTTP POST returns 401 -- Regression)
Reported by
Thomas M. Tuerke
thomastuerke (thomas.m.tuerke at autodesk.com)
New artifact details:
---------------------------------------------------------
- Artifact Status set to new value
New
- Subcomponent set to new value
Map Agent
- Component set to new value
Web Server Extensions
- Artifact created
- Defect Severity set to new value
High
- Steps to Reproduce set to new value
1. Issue a WFS GetCapabilities request to discover the name of a published feature type:
...mapagent.fcgi?service=WFS&request=GetCapabilities
(Note that this MapAgent request, using GET, works.) For the remainder of these steps, we'll assume Samples/Sheboygan/Data/CityLimits:CityLimits is used.
2. Confirm that GetFeature via HTTP GET works:
...mapagent.fcgi?service=WFS&request=GetFeature&typeName=Samples/Sheboygan/Data/CityLimits:CityLimits
3. Issue the GetFeature via HTTP POST
...mapagent.fcgi
----
<?xml version="1.0" encoding="utf-8"?>
<GetFeature xmlns="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
service="WFS"
version="1.0.0"
outputFormat="GML2"
maxFeatures="100"
handle="" >
<Query typeName="Samples/Sheboygan/Data/CityLimits:CityLimits" />
</GetFeature>
------
(contact me for a tool to issue HTTP POST requests, if you don't have one -- TMT)
Note that the response is not 200 (OK) but 401 (Unauthorized) and the response contents contain "You must enter a valid login ID and password to access this site"
- Description set to new value
MapAgent WFS GetFeature HTTP POST has regressed, as it now seems to return a challenge for authentication. WFS requests should already be implicitly credentialed.
- Summary set to new value
MapAgent -- WFS GetFeature via HTTP POST returns 401 -- Regression
- Version set to new value
1.0.0
---------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Mapguide_issues
mailing list