<!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 text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=843165816-16102007>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=843165816-16102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2>the
problem is the encoding of the FORMAT and SRS values<SPAN
class=843165816-16102007> with OL 2.5</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>This works
not:<BR><A
href="http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&FORMAT=image%2Fpng&LAYERS=1&TRANSPARENT=TRUE&SRS=EPSG%3A4326&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&WIDTH=256&HEIGHT=256">http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&FORMAT=image%2Fpng&LAYERS=1&TRANSPARENT=TRUE&SRS=EPSG%3A4326&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&WIDTH=256&HEIGHT=256</A></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2>Response:<BR><ServiceExceptionReport
version="1.1.1"><BR><ServiceException code="InvalidFormat"><BR>Invalid
FORMAT
value<BR></ServiceException><BR></ServiceExceptionReport></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Changing the
FORMAT value <BR></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2>Response:<BR><ServiceExceptionReport
version="1.1.1"><BR><ServiceException code="InvalidSRS"><BR>Invalid SRS
value<BR></ServiceException><BR></ServiceExceptionReport></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Changing the SRS
value <BR>works:<BR><A
href="http://mapserver.mnp.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&FORMAT=image/png&LAYERS=1&TRANSPARENT=TRUE&SRS=EPSG:4326&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%252Fvnd.ogc.se_inimage&BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&WIDTH=256&HEIGHT=256">http://mapserver.mnp.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&FORMAT=image/png&LAYERS=1&TRANSPARENT=TRUE&SRS=EPSG:4326&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%252Fvnd.ogc.se_inimage&BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&WIDTH=256&HEIGHT=256</A><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=843165816-16102007><FONT face=Arial
color=#0000ff size=2>With OL Version 1.0 the WMS works all
right.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=843165816-16102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=843165816-16102007><FONT face=Arial
color=#0000ff size=2>Looking at the code I don't find where the encoding
takes places. Where I have to look?</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2><FONT face=Arial>Mit freundlichen Grüssen<BR><BR>Arnd
Wippermann<BR></FONT><A href="http://gis.ibbeck.de/ginfo/"><FONT
face=Arial>http://gis.ibbeck.de/ginfo/</FONT></A><BR><BR></FONT></P><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> users-bounces@openlayers.org
[mailto:users-bounces@openlayers.org] <B>Im Auftrag von </B>huub
fleuren<BR><B>Gesendet:</B> Dienstag, 16. Oktober 2007 15:42<BR><B>An:</B>
users@openlayers.org<BR><B>Betreff:</B> [OpenLayers-Users] redirected
maprequests<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>The capabilities of <BR><BR><A class=moz-txt-link-freetext
href="http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?request=getcapabilities&service=wms">http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?request=getcapabilities&service=wms</A>
<BR><BR>return a OnLineResource like<BR>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b> </SPAN>
<SPAN class=m><</SPAN><SPAN class=t>OnlineResource</SPAN> <SPAN
class=ns>xmlns:xlink</SPAN><SPAN class=m>="</SPAN><B class=ns><A
class=moz-txt-link-freetext
href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</A></B><SPAN
class=m>"</SPAN><SPAN class=t> xlink:href</SPAN><SPAN class=m>="</SPAN><B><A
class=moz-txt-link-freetext
href="http://milntj34.rivm.nl:80/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a">http://milntj34.rivm.nl:80/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a</A>?</B><SPAN
class=m>"</SPAN><SPAN class=t> xlink:type</SPAN><SPAN
class=m>="</SPAN><B>simple</B><SPAN class=m>"</SPAN><SPAN class=m>
/><BR><BR>Using this we discover that this server redirects this to another
server (leaving the requests intact)<BR></SPAN></DIV><A
class=moz-txt-link-freetext
href="http://mapserver.mnp.nl">http://mapserver.mnp.nl</A><BR><BR>Compare in the
browsers' addressbar<BR><BR><A class=moz-txt-link-freetext
href="http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&REQUEST=GetMap&LAYERS=11&STYLES=&SRS=EPSG:28992&TRANSPARENT=TRUE&FORMAT=image/png&BGCOLOR=0xFFFFFF&WIDTH=466&HEIGHT=258&BBOX=93033.592275,471639.824034,144667.592275,500226.888412&EXCEPTIONS=application/vnd.ogc.se_xml&">http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&REQUEST=GetMap&LAYERS=11&STYLES=&SRS=EPSG:28992&TRANSPARENT=TRUE&FORMAT=image/png&BGCOLOR=0xFFFFFF&WIDTH=466&HEIGHT=258&BBOX=93033.592275,471639.824034,144667.592275,500226.888412&EXCEPTIONS=application/vnd.ogc.se_xml&</A><BR><A
class=moz-txt-link-freetext
href="http://mapserver.mnp.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&REQUEST=GetMap&LAYERS=11&STYLES=&SRS=EPSG:28992&TRANSPARENT=TRUE&FORMAT=image/png&BGCOLOR=0xFFFFFF&WIDTH=466&HEIGHT=258&BBOX=93033.592275,471639.824034,144667.592275,500226.888412&EXCEPTIONS=application/vnd.ogc.se_xml&">http://mapserver.mnp.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&REQUEST=GetMap&LAYERS=11&STYLES=&SRS=EPSG:28992&TRANSPARENT=TRUE&FORMAT=image/png&BGCOLOR=0xFFFFFF&WIDTH=466&HEIGHT=258&BBOX=93033.592275,471639.824034,144667.592275,500226.888412&EXCEPTIONS=application/vnd.ogc.se_xml&</A><BR><BR>So
from the capabilities i create the OpenLayers Layer using
milntj34.rivm.nl: but then i get no image. <BR>Is a redirect not expected by
OpenLayers? <BR><BR><BR>Regards, Huub<BR><BR><BR><BR><BR><PRE class=moz-signature cols="72">--
=====================================
Geodan IT b.v.
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
-------------------------------------
Tel: +31 (0)73 - 692 5151
Fax: +31 (0)73 - 692 5150
Mobiel:
-------------------------------------
Postadres / mailing address
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
E-mail: <A class=moz-txt-link-abbreviated href="mailto:huub.fleuren@geodan.nl">huub.fleuren@geodan.nl</A>
Website: <A class=moz-txt-link-abbreviated href="http://www.geodan.nl">www.geodan.nl</A>
Disclaimer: <A class=moz-txt-link-abbreviated href="http://www.geodan.nl/disclaimer">www.geodan.nl/disclaimer</A>
-------------------------------------
</PRE></BODY></HTML>