<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff size=2>What
is the exact error message you get?</FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff size=2>Don't
use parameters in your CONNECTION, define them using the respective METADATA,
something like (you may need to add some extra params, check the Mapserver WFS
client HOWTO):</FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff
size=2> METADATA</FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff
size=2> wfs_typename
"topp:alrgemarea"</FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff
size=2> END</FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff size=2><FONT
face="Times New Roman" color=#000000 size=3>
CONNECTION<BR>"</FONT><A
href="http://10.109.2.57:8080/geoserver/wfs?VERSION=1.1.1&REQUEST=GetFeature&TYPENAME=topp:alrgemarea"><FONT
face="Times New Roman" size=3>
http://10.109.2.57:8080/geoserver/wfs?</FONT></A><FONT face="Times New Roman"
color=#000000 size=3>"</FONT><BR></FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff size=2>On a
side note, you use version 1.1.1 for WFS, 1.1.1 is for WMS, WFS
normally has version 1.0.</FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006></SPAN> </DIV></DIV></FONT></SPAN>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff size=2>Best
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=265112906-01032006><FONT face=Arial color=#0000ff
size=2>Bart</FONT></SPAN><SPAN class=265112906-01032006><FONT face=Arial
color=#0000ff size=2></DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Oorspronkelijk bericht-----<BR><B>Van:</B>
chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org]<B>Namens </B>Steven De
Vriendt<BR><B>Verzonden:</B> dinsdag 28 februari 2006 18:26<BR><B>Aan:</B>
chameleon@lists.maptools.org<BR><B>Onderwerp:</B> [Chameleon] Displaying
geoserver WFS data through Chameleon<BR><BR></FONT></DIV>
<DIV>Hi,</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>I'm trying to add a WFS layer server by geoserver in the chameleon JSAPI
sample.</DIV>
<DIV>When I put my connection url in the browser I get a valid form back; but
when</DIV>
<DIV>putting it in a mapfile I get an error saying there's a problem near the
beginning</DIV>
<DIV>of my layer declaration.</DIV>
<DIV>Can someone tell me what's wrong with folllowing syntax:</DIV>
<DIV>I've removed the metadata information (I've searched through the
mapserver users mailing list and bumped accross</DIV>
<DIV>a post where deleting the map file was one of the options to do...)</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>LAYER<BR> GROUP "Polygon"<BR> NAME
aaltergrens<BR> TYPE POLYGON<BR>
CONNECTIONTYPE WFS<BR> CONNECTION<BR>"<A
href="http://10.109.2.57:8080/geoserver/wfs?VERSION=1.1.1&REQUEST=GetFeature&TYPENAME=topp:alrgemarea">
http://10.109.2.57:8080/geoserver/wfs?VERSION=1.1.1&REQUEST=GetFeature&TYPENAME=topp:alrgemarea</A>"<BR>
PROJECTION<BR>
"init=epsg:31300"<BR> END<BR> STATUS
ON<BR> DEBUG TRUE<BR> CLASS
<BR> NAME
"test"<BR> COLOR 255 0 0<BR>
END<BR>END<BR> <BR>PROJECTION<BR>
"init=epsg:31300"<BR>END</DIV></BLOCKQUOTE><BR>
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
<BR>
</BODY></HTML>