<!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.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hello, I am new using mapserver and&nbsp;preparing 
a WMS, but I have problems. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I use Arcview 3,2 with its extension Arc3Wms_beta 
2.0.1 </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have formed my file ogc, but it leaves east 
message </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>---------------------------<BR>WMS Client for 
Arcview Error<BR>---------------------------<BR>Service Exception Error: The 
server returned an invalid XML response: Document not well-formed.<BR><A 
href="http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos">http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos</A> 
de programa\Apache 
Group\Apache2\htdocs\WMS_SBN\MapSbn_WMS.map&amp;amp;mode=browse&amp;Format=image/jpeg&amp;Version=1.1.1&amp;LAYERS=Departamento,Sinabip&amp;Styles=&amp;REQUEST=GetMap&amp;Srs=EPSG:24878&amp;bbox=288476%2E976623642490000,8660109%2E974671948700000,305003%2E292143642490000,8673309%2E907195908900000&amp;width=313&amp;height=249&amp;Exceptions=application/vnd.ogc.se_xml&amp;<BR>---------------------------<BR>Aceptar&nbsp;&nbsp; 
<BR>---------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV>some recommendation? </DIV></FONT></DIV><FONT face=Arial size=2>
<DIV><BR>attach mapfile and file ogc</DIV>
<DIV>&nbsp;</DIV>
<DIV>************************************************************</DIV>
<DIV>file ogc&nbsp; : MapSBN.ogc</DIV>
<DIV>
<DIV>************************************************************</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;wms_client_config&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp; 
&lt;wms_version&gt;1.1.1&lt;/wms_version&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;online_resource&gt;http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos 
de programa\Apache 
Group\Apache2\htdocs\WMS_SBN\MapSbn_WMS.map&amp;amp;amp;mode=browse&amp;amp;&lt;/online_resource&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;image_format_list&gt;<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&lt;image_format&gt;image/jpeg&lt;/image_format&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;/image_format_list&gt;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &lt;srs&gt;EPSG:24878&lt;/srs&gt;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&lt;extents minx="-310000" miny="7930000" 
maxx="1400000" maxy="10130000"&gt;&lt;/extents&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;layer_list&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&lt;layer&gt;Sinabip&lt;/layer&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/layer_list&gt;<BR>&lt;/wms_client_config&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>************************************************************</DIV></DIV>
<DIV>map file : MapSbn_</DIV>
<DIV>
<DIV>************************************************************</DIV>
<DIV>MAP&nbsp;<BR>&nbsp;NAME "MapSbn"<BR>&nbsp;STATUS ON<BR>&nbsp;SIZE 400 
300<BR>&nbsp;IMAGECOLOR 160 200 255<BR>&nbsp;IMAGETYPE JPEG<BR>&nbsp;EXTENT 
-293181.4714 7921617.1938 1319223.322 10052167.8914 #extension de peru psad56 zn 
18 s&nbsp;<BR>&nbsp;FONTSET&nbsp;"fonts/fonts.list"<BR>&nbsp;SYMBOLSET 
"symbols/symbol.sym" #simbolos ocurre error si retira el #<BR>&nbsp;CONFIG 
"PROJ_LIB" "C:/MapServer/proj/nad/"</DIV>
<DIV>&nbsp;WEB<BR>&nbsp;&nbsp;METADATA<BR>&nbsp;&nbsp;&nbsp; "wms_title" "MapSBN 
desde 192.168.1.199"<BR>&nbsp;&nbsp;&nbsp; 
"wms_onlineresource"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;"<A 
href="http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos">http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos</A> 
de programa\Apache 
Group\Apache2\htdocs\WMS_SBN\MapSbn_WMS.map&amp;amp;mode=browse"<BR>&nbsp;&nbsp;&nbsp;&nbsp;"wms_srs" 
"epsg:24878"<BR>&nbsp;&nbsp;&nbsp; "wms_exceptions_format" 
"application/vnd.ogc.se_xml"<BR>&nbsp;&nbsp;END # 
metadata<BR>&nbsp;&nbsp;TEMPLATE 'Editar_BGE.html'<BR>&nbsp;&nbsp;EMPTY "<A 
href="http://192.168.1.199/WMS_SBN/info.html">http://192.168.1.199/WMS_SBN/info.html</A>"&nbsp; 
# path relative to the webserver document root<BR>&nbsp;&nbsp;IMAGEPATH 
"c:\Archivos de programa\Apache Group\Apache2\htdocs\WMS_SBN\tmp\"&nbsp; # full 
path to image tmp dir, so cgi can find it<BR>&nbsp;&nbsp;IMAGEURL "<A 
href="http://192.168.1.199/WMS_SBN/tmp/">http://192.168.1.199/WMS_SBN/tmp/</A>"&nbsp; 
# url location of image tmp dir, so web browser can find it<BR>&nbsp;END # 
Web&nbsp;<BR>&nbsp;PROJECTION<BR>&nbsp;&nbsp; "proj=utm" <BR>&nbsp;&nbsp; 
"zone=18" <BR>&nbsp;&nbsp; "south"<BR>&nbsp;&nbsp; "ellps=intl"<BR>&nbsp;&nbsp; 
"towgs84=-288,175,-376,0,0,0,0"<BR>&nbsp;&nbsp; "units=m"<BR>&nbsp;&nbsp; 
"no_defs"<BR>&nbsp;END #Projection epsg: 
24878&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV>&nbsp;LAYER&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Sinabip<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
POLYGON&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STATUS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"geo_poligono from ag_sinabip_18"<BR>&nbsp;&nbsp;&nbsp;&nbsp; CONNECTION 
"user=postgres password=password dbname=YachayWasi host=Wanka 
port=5432"<BR>&nbsp;&nbsp;&nbsp;&nbsp; CONNECTIONTYPE 
postgis&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; TRANSPARENCY 
60<BR>&nbsp;&nbsp;&nbsp;&nbsp; PROJECTION<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"proj=utm" <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "zone=18" 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "south"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ellps=intl"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"towgs84=-288,175,-376,0,0,0,0"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"units=m"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"no_defs"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END&nbsp;#projection&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_title" "Propiedad del 
Estado"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "autor" 
"JPR"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
END&nbsp;#metadata&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABELMAXSCALE 
5000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABELITEM 
"col_codigopredio"<BR>&nbsp;&nbsp;&nbsp;&nbsp; TOLERANCE 
3&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; DUMP 
TRUE&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; HEADER 
"Sinabip_header.html"<BR>&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE 
"Sinabip_qry.html"<BR>&nbsp;&nbsp;&nbsp;&nbsp; FOOTER 
"Sinabip_footer.html"<BR>&nbsp;&nbsp;&nbsp;&nbsp; CLASSITEM 
"col_interno"<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;CLASS&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "SBN 
- ASIENTOS"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EXPRESSION 
('[col_tipo]' = 'SBN01')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
COLOR&nbsp;&nbsp;&nbsp;&nbsp;&n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