<!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>&nbsp;</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>&nbsp;</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&amp;FORMAT=image%2Fpng&amp;LAYERS=1&amp;TRANSPARENT=TRUE&amp;SRS=EPSG%3A4326&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&amp;WIDTH=256&amp;HEIGHT=256">http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;LAYERS=1&amp;TRANSPARENT=TRUE&amp;SRS=EPSG%3A4326&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&amp;WIDTH=256&amp;HEIGHT=256</A></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2>Response:<BR>&lt;ServiceExceptionReport 
version="1.1.1"&gt;<BR>&lt;ServiceException code="InvalidFormat"&gt;<BR>Invalid 
FORMAT 
value<BR>&lt;/ServiceException&gt;<BR>&lt;/ServiceExceptionReport&gt;</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</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>&lt;ServiceExceptionReport 
version="1.1.1"&gt;<BR>&lt;ServiceException code="InvalidSRS"&gt;<BR>Invalid SRS 
value<BR>&lt;/ServiceException&gt;<BR>&lt;/ServiceExceptionReport&gt;</FONT></DIV>
<DIV>&nbsp;</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&amp;FORMAT=image/png&amp;LAYERS=1&amp;TRANSPARENT=TRUE&amp;SRS=EPSG:4326&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%252Fvnd.ogc.se_inimage&amp;BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&amp;WIDTH=256&amp;HEIGHT=256">http://mapserver.mnp.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&amp;FORMAT=image/png&amp;LAYERS=1&amp;TRANSPARENT=TRUE&amp;SRS=EPSG:4326&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%252Fvnd.ogc.se_inimage&amp;BBOX=4.261600586485688,50.71251715540474,5.966221888212408,52.41713845713146&amp;WIDTH=256&amp;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>&nbsp;</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&nbsp;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&amp;service=wms">http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?request=getcapabilities&amp;service=wms</A> 
<BR><BR>return a OnLineResource like<BR>
<DIV style="MARGIN-LEFT: 1em; TEXT-INDENT: -2em"><SPAN class=b>&nbsp;</SPAN> 
<SPAN class=m>&lt;</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> 
/&gt;<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&amp;REQUEST=GetMap&amp;LAYERS=11&amp;STYLES=&amp;SRS=EPSG:28992&amp;TRANSPARENT=TRUE&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;WIDTH=466&amp;HEIGHT=258&amp;BBOX=93033.592275,471639.824034,144667.592275,500226.888412&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;">http://milntj34.rivm.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=11&amp;STYLES=&amp;SRS=EPSG:28992&amp;TRANSPARENT=TRUE&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;WIDTH=466&amp;HEIGHT=258&amp;BBOX=93033.592275,471639.824034,144667.592275,500226.888412&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;</A><BR><A 
class=moz-txt-link-freetext 
href="http://mapserver.mnp.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=11&amp;STYLES=&amp;SRS=EPSG:28992&amp;TRANSPARENT=TRUE&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;WIDTH=466&amp;HEIGHT=258&amp;BBOX=93033.592275,471639.824034,144667.592275,500226.888412&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;">http://mapserver.mnp.nl/wmsconnector/com.esri.wms.Esrimap/schiphol2005_a?VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=11&amp;STYLES=&amp;SRS=EPSG:28992&amp;TRANSPARENT=TRUE&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;WIDTH=466&amp;HEIGHT=258&amp;BBOX=93033.592275,471639.824034,144667.592275,500226.888412&amp;EXCEPTIONS=application/vnd.ogc.se_xml&amp;</A><BR><BR>So 
from the capabilities&nbsp; 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>