[Mapserver-users] ArcExplorer 4.0.1 WMS Client

Daryl Herzmann akrherz at iastate.edu
Thu Mar 13 13:25:55 PST 2003


Hi Daniel!

Thanks for the note.  We are almost there :)  Now I get this from 
ArcExplorer

###### Start to WMS getCapabilities in GETWMSService class version=null
*********** realVersion is = none
*********** Version is = null
This version is not supported
******* Exception for WMS: null
java.lan.NullPointerException
        ..........................

Looking at the difference between versions from the MIT Ortho and 
mapserver, I see
from mapserver:
<WMT_MS_Capabilities version="1.1.0" updateSequence="0">
from Ortho:
<WMT_MS_Capabilities version="1.0.0">

Do I need to upgrade to 3.7 dev to get 1.1.1 support?  Or should I 
downgrade to 1.0.0 to get this to work?  Looking at the Extension FAQ, 
perhaps this beast only supports 1.0.0 and 1.1.1 ??

:)

Daryl

On Thu, 13 Mar 2003, Daniel Morissette wrote:

>Daryl Herzmann wrote:
>> 
>> Here is the error from ArcExplorer
>> 
>> tokenizer exception; nested exception is;
>> com.esri.axl.indiana.sxt.XmlTokenizerException: unexpected end of stream
>> (state=71)
>>     at com.esri.axl.indiana.sxt.XmlTokenizer.next(XmlTokenizer.java:310)
>>    .....................
>> 
>> PS.  I can query the mapserver from the Cubewerx site...
>> PSS. This is mapserver 3.6.4 on RH Linux 7.3
>> 
>
>I'm not sure if that's the problem, but your onlineResource URL ends
>with '&' which is invalid in an XML entity and most validating XML
>parsers will complain about that:
>
>   <Get><OnlineResource xlink:href="http://.../wfs/wfs.map&"/></Get>
>
>This is handled (encoded) automatically in 3.7, but I didn't want to
>backport the fix to 3.6 to avoid causing other side-effects to already
>working servers.  What you can do is replace the last "&" with "&"
>in your onlineresource metadata.  Remember to take it out when you will
>upgrade to 3.7 otherwise you'll end up with "&amp;" in your
>MapServer 3.7 capabilities.
>
>

-- 
/**
 * Daryl Herzmann (akrherz at iastate.edu)
 * Program Assistant -- Iowa Environmental Mesonet
 * http://mesonet.agron.iastate.edu
 */





More information about the MapServer-users mailing list