Hi,
Even though as I sent you I couldn't see my map anymore by printing it, I
still went and tried to make the WMS server.
So what I did is started the MapServer main, and included your
OgcWmsServlet.
Now the url-pattern to the servlet is /map/*.
The properties of the servlet and the map server is openmap.properties of
the cvs version.
What I Did also is to add in the mapBuilder a layer to one of the demo xml
"mapbuilder\demo\data\context\demisWorldMap.xml" like this:
<param-name>path</param-name>
<param-value>/openmap</param-value>
<description>Path on servlet container</description>
<Layer queryable="1" hidden="0">
<Server service="OGC:WMS"
version="1.0.0" title="OGC:WMS">
<OnlineResource
xlink:type="simple" xlink:href="http://localhost:8080/map/"/>
</Server>
<Name>graticule</Name>
<Title>Misc. features</Title>
<SRS>EPSG:4326</SRS>
<FormatList>
<Format
current="1">image/gif</Format>
</FormatList>
<StyleList>
<Style current="1">
<Name>default</Name>
<Title>default</Title>
</Style>
</StyleList>
</Layer>
Finally OgcWmsServlet has got a request for graticule but it throws
"WMSException(null): Unsupported protocol version: null"
So I think that what I did wrong is the configuration of the layer in map
builder above.
Do you have maybe a sample.xml of map builder that call to OgcWmsServlet and
get an image? Or maybe even the format I should use in map builder?
I know that it's a long way for me because if I give my properties file I
got java.lang.nullPointerException. but first thing first, lets get a sample
map on the map builder from your server.
Thank you very much,
Oz and the location team
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/335 - Release Date: 09/05/2006 -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue May 9 19:58:47 2006
This archive was generated by hypermail 2.1.8 : Tue May 09 2006 - 19:58:49 EDT