[mapserver-users] WFS Client...

Carlos Ruiz boolean10001 at yahoo.com
Thu Feb 18 13:15:31 PST 2016


OK. If you are doing a request to a WFS layer from an OpenLayers application, you can see the request by pressing SHIFT+CTRL+J in FireFox and enable the Network toggle button.
You will see the full request when hovering the URL
GET http://localhost/cgi-bin/accidentes?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=Estaciones%20Tren%20Ligero%20-%20Tipo&CRS=EPSG%3A4326&STYLES=&WIDTH=2025&HEIGHT=962&BBOX=20.624878406524658%2C-103.43881130218506%2C20.707404613494873%2C-103.26500415802002 [HTTP/1.1 200 OK 361ms]

      From: "Lime, Steve D (MNIT)" <Steve.Lime at state.mn.us>
 To: Carlos Ruiz <boolean10001 at yahoo.com>; "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org> 
 Sent: Thursday, February 18, 2016 3:06 PM
 Subject: RE: [mapserver-users] WFS Client...
   
#yiv8480966943 #yiv8480966943 -- _filtered #yiv8480966943 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv8480966943 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv8480966943 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv8480966943 #yiv8480966943 p.yiv8480966943MsoNormal, #yiv8480966943 li.yiv8480966943MsoNormal, #yiv8480966943 div.yiv8480966943MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv8480966943 a:link, #yiv8480966943 span.yiv8480966943MsoHyperlink {color:blue;text-decoration:underline;}#yiv8480966943 a:visited, #yiv8480966943 span.yiv8480966943MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv8480966943 p.yiv8480966943msonormal, #yiv8480966943 li.yiv8480966943msonormal, #yiv8480966943 div.yiv8480966943msonormal {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8480966943 p.yiv8480966943msochpdefault, #yiv8480966943 li.yiv8480966943msochpdefault, #yiv8480966943 div.yiv8480966943msochpdefault {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8480966943 span.yiv8480966943msohyperlink {}#yiv8480966943 span.yiv8480966943msohyperlinkfollowed {}#yiv8480966943 span.yiv8480966943emailstyle17 {}#yiv8480966943 p.yiv8480966943msonormal1, #yiv8480966943 li.yiv8480966943msonormal1, #yiv8480966943 div.yiv8480966943msonormal1 {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}#yiv8480966943 span.yiv8480966943msohyperlink1 {color:#0563C1;text-decoration:underline;}#yiv8480966943 span.yiv8480966943msohyperlinkfollowed1 {color:#954F72;text-decoration:underline;}#yiv8480966943 span.yiv8480966943emailstyle171 {color:windowtext;}#yiv8480966943 p.yiv8480966943msochpdefault1, #yiv8480966943 li.yiv8480966943msochpdefault1, #yiv8480966943 div.yiv8480966943msochpdefault1 {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv8480966943 span.yiv8480966943EmailStyle27 {color:#1F497D;}#yiv8480966943 .yiv8480966943MsoChpDefault {font-size:10.0pt;} _filtered #yiv8480966943 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv8480966943 div.yiv8480966943WordSection1 {}#yiv8480966943 The WFS server is not under my control, so no access log.    From: Carlos Ruiz [mailto:boolean10001 at yahoo.com]
Sent: Thursday, February 18, 2016 3:06 PM
To: Lime, Steve D (MNIT) <Steve.Lime at state.mn.us>; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] WFS Client...    Steve,    You can check the Apache "access.log" file and watch for the HTTP GET requests. You will find something like this:

 

 127.0.0.1 - - [16/Dec/2015:16:59:31 -0600] "GET /cgi-bin/landsat8?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=2014&WIDTH=256&HEIGHT=256&CRS=EPSG%3A4326&STYLES=&BBOX=22.5%2C-101.25%2C33.75%2C-90 HTTP/1.1" 200 412       From: "Lime, Steve D (MNIT)" <Steve.Lime at state.mn.us>
To: "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org>
Sent: Thursday, February 18, 2016 3:01 PM
Subject: [mapserver-users] WFS Client...    Hi all: Is there any way to log the request URL and POST data associated with MapServer WFS layers? That info doesn’t seem to be showing up in debug logs and it would be helpful to see exactly what is being sent to the WFS server.   Steve 
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users 

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160218/19d989a2/attachment.html>


More information about the mapserver-users mailing list