GWP - Publishing in WMS Mode

Hi all,

I'm trying to use GWP 8Vi to publish in wms Mode.

I've installed the Geospatial server suite (server - admin -client), on a win 2003 server, using this step by step procedure:

 http://communities.bentley.com/Products/ProjectWise/w/ProjectWise__Wiki/configuring-projectwise-on-a-windows-2003-server.aspx

Everything seem to be correct, no warnig or other error.

Now i'm trying to send some simple request to the server (wms getcapabilities) to test the wms server.

Reading this help file: http://docs.bentley.com/en/GeoPublisher/index.php  the gws server seams to be automatically configured to responde a wms request.  

I've followed this procedure:

  1. configured  Geo Web Publisher Administrator to "run as a web server Extension" and to "Automatically configure iis.." using the relevant options and verified some new virtual folder and settings inside IIS 
  2. created a connection to a raster (*tif) inside the Bentley Geo Web Publisher Administrator
  3. created a graphical source to the some connection and data inside the Bentley Geo Web Publisher Administrator
  4. created and saved a new map with a layer using the graphical source indise  Bentley Geo Web Publisher Map Author
  5. verified the existence of the map  inside the Bentley Geo Web Publisher Administrator

Now following the same help file (Publishing in WMS Mode - Fundamentals) i've tried the following requests to my example map (using the map id finded insiede GWP Administrator), from IE7:

  •  http://localhost:8087//2d4f02c4-8d5c-4b6b-af0e-b2b6beddfa28.mapdef?request=getcapabilities&service=WMS
  • http://localhost:8087/2d4f02c4-8d5c-4b6b-af0e-b2b6beddfa28.mapdef?request=getcapabilities&service=WMS
  • http://localhost:8087/

I always recive the same response in Italian Language : "Funzione non corretta" that in Enghish is something like "Incorrect Function". Retrying the request  with the GWP Admin turned off  (to see if the messasge comes from the GWP server) i don't recive the some response, but the classic "page not found.." .

I' m a good wms and wfs user/developer on other tecnology but  i can't find any documentation to fix this problem.

Sorry for my bad Enghish and thank you in advance for any help or suggestion.

 

 

 

 

  • Hi. In your message you have stated that you chose to configure GeoWebPublisher to "run as a web server extension". That is fine but in that mode, your requests must be sent to IIS (port 80). Your test URLs are sent to the 8087 port. In the "run as a web server extension" mode you cannot send your requests directly to that port.

    Also note that when you add raster connections, you must restart the services for that change to take effect.

     Please try again with a request like "http://localhost/2d4f02c4-8d5c-4b6b-af0e-b2b6beddfa28.mapdef?request=getcapabilities&service=WMS".

    Thanks,

        Martin

      

  • First of all, thank you a lot for your help.

    I've tried the request as  in your reply using "localhost" insted of "localhost:8087" without success. The request with localhost give me the "page not found..." .  I've tried to restart the Administrator also without success.

    I've configured the GWP Administrator to "run as a web server extension" becouse also without this option i can't obtain a good response. Here is some screen shot of my actual configuration (i can change everything, my goal is to have the wms server running).

    Thank you again for any suggestion.
  • In that case, I'd eliminate one variable by bypassing IIS completely. Could you please change uncheck the "run as a web server extension" checkbox, save and restart the services ? After that, please retry your request on the 8087 port. If this works, we'll look at what is wrong in the IIS configuration.

    Thanks,

        Martin

      

  • Unchecked  restarted and retried the request.

    Same result as with "run as..".

    Here is the screenshot:

  • That's surprising. Could you check in the GWP log to see if there's some more information ? To do so, please open a DOS shell, navigate to the main GWP directory and type "publogdump > log.txt". Look at the generated log.txt file.

     Thanks,

        Martin