<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Garamond;
        panose-1:2 2 4 4 3 3 1 1 8 3;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
span.tx1
        {font-weight:bold;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue leftmargin=5 topmargin=5>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>As dictated by the Open GIS Consortium&#8217;s
WMS spec, the default mime type returned for these requests is: </span></font><span
class=tx1><b><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>application/vnd.ogc.wms_xml<o:p></o:p></span></font></b></span></p>

<p class=MsoNormal><span class=tx1><b><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></font></b></span></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>A WMS client program should support this
mime type. However your browser probably doesn&#8217;t know what to do with it,
and it prompts you to save the response to a file.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If you want to look at the capabilities in
your browser, you can add an extra parameter to request a text/xml response
instead. i.e.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=Garamond><span
style='font-size:12.0pt;font-family:Garamond;color:black'><a
href="http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&amp;SERVICE=WMS&amp;FORMAT=text/xml">http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&amp;SERVICE=WMS&amp;FORMAT=text/xml</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=Garamond><span
style='font-size:12.0pt;font-family:Garamond;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>A more complex approach would be to add
the following registry key definition, so that your browser knows what to do
with the original mime type (<b><span style='font-weight:bold'>note that you
should always back up your registry before making any modifications</span></b>):<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=Garamond><span
style='font-size:12.0pt;font-family:Garamond;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[HKEY_CLASSES_ROOT\Mime\Database\Content
Type\application/vnd.ogc.wms_xml]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&quot;CLSID&quot;=&quot;{48123BC4-99D9-11D1-A6B3-00C04FD91555}&quot;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&quot;Extension&quot;=&quot;.xml&quot;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&quot;Encoding&quot;=hex:08,00,00,00<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The GetMap request requires a mandatory
format parameter, such as FORMAT=image/png. However if something goes wrong it
will return an error message in application/vnd.ogc.wms_xml format. In such
cases you can simply save the response to a file and open it with a text
editor.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I hope this information helps.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Chris Claydon.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Axel Dörr
[mailto:a.doerr@doerrib.de] <br>
<b><span style='font-weight:bold'>Sent:</span></b> martedě 5 settembre 2006
10.36<br>
<b><span style='font-weight:bold'>To:</span></b> users@mapguide.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users] wms:
request=get... =&gt; save mapagent.fcgi</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=black face=Garamond><span
style='font-size:10.0pt;font-family:Garamond;color:black'><br>
<br>
</span></font><font color=black face=Garamond><span style='font-family:Garamond;
color:black'>Hello List,<br>
<br>
when i send the following request to my server:<br>
<br>
<a
href="http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&amp;SERVICE=WMS">http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&amp;SERVICE=WMS</a><br>
<br>
i dont get the expected answer but i'm asked if want to open or save the
mapagent.fcgi.<br>
It is of course the same thing with getmap.<br>
<br>
What's wrong?<br>
<br>
I think i've seen this question already from someone else, but i can't find it
anymore. Sorry for this.<br>
<br>
Regards,<br>
<br>
Axel</span></font><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'><o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>