[mapserver-users] Re WFS server error. Incomplete WFS request:SERVICE parameter missing

Derek Bain beartreeyoga at yahoo.co.uk
Thu Aug 14 05:40:39 EDT 2008


Hi

I tried removing the ampesand as suggested by Jukka but that made no difference. I downloaded an http debugger tool and checked the getmap request, here it is split up over a number of lines for readability. I checked with the WMS 1.1.1 spec and it complies with GetMap. It does not require a SERVICE parameter and WFS is not specified. I also tried the GET in a web browser and got the same error.

Could one of the developers confirm that the GET conforms to what mapserver requires for v1.1.1 

I need someone to give me some advice as I seem to be going around in circles and not getting anywhere i.e. I can't see the wood for the trees

many many many thanks in advance

Derek
PS My map file is in my initial post if anyone wants to check it out

GET /cgi-bin/mapserv.exe?
request=GetMap&
layers=DEPCNT&
TRANSPARENT=TRUE&
BGCOLOR=0xFF00FF&
map=d:/MyTestData/Shapes.map&
srs=EPSG:4326&
width=512&
height=512&
bbox=-81.5625,25.3125,-78.75,28.125&
format=image/png&
version=1.1.1&
styles= HTTP/1.1


User-Agent: World Wind v1.4.0.0 (Microsoft Windows NT 5.1.2600 Service Pack 3, en-GB)
Host: localhost:8082
Connection: Keep-Alive


HTTP/1.1 200 OK
Date: Thu, 14 Aug 2008 08:47:24 GMT
Server: Apache/2.2.9 (Win32)
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" version="1.1.1" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">
  <ows:Exception exceptionCode="service" locator="MissingParameterValue">
    <ows:ExceptionText>msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

GET /cgi-bin/mapserv.exe?request=GetMap&layers=DEPCNT&TRANSPARENT=TRUE&BGCOLOR=0xFF00FF&map=d:/SeeTrack_Missions/MyTestData/Shapes.map&srs=EPSG:4326&width=512&height=512&bbox=-84.375,25.3125,-81.5625,28.125&format=image/png&version=1.1.1&styles= HTTP/1.1
User-Agent: World Wind v1.4.0.0 (Microsoft Windows NT 5.1.2600 Service Pack 3, en-GB)
Host: localhost:8082


HTTP/1.1 200 OK
Date: Thu, 14 Aug 2008 08:47:24 GMT
Server: Apache/2.2.9 (Win32)
Content-Length: 552
Content-Type: text/xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" version="1.1.1" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">
  <ows:Exception exceptionCode="service" locator="MissingParameterValue">
    <ows:ExceptionText>msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080814/369d8a26/attachment.html


More information about the mapserver-users mailing list