[mapguide-users] How can I connect to my server with a WMS connection??

Thomas M. Tuerke thomas.m.tuerke at autodesk.com
Fri Apr 7 14:54:45 EDT 2006


Hi Willem,

 

The same MapAgent used for all other HTTP requests also “speaks” WMS and WFS, but make sure that you’ve configured the WMS via the site administration tool.  Since WMS is a multi-request operation (GetCapabilities -> GetMap -> GetFeatureInfo) the configuration needs to know your server name to adequately describe these operations.

 

You’ll also need to make sure at least one layer is “published” to the WMS; Studio allows you to do that via the layer’s “Properties” context (ie right-click) menu, otherwise GetCapabilities will be empty of useful information.

 

If you’ve done the above, (and assuming you have the Apache install on your own machine,) the following should return a valid GetCapabilities document.

 

http://localhost:8008/mapguide/mapagent/mapagent.fcgi?service=WMS&request=GetCapabilities

 

(The IIS install will use a slightly different server:port combination, but otherwise the URL is no different..)

 

If, as you say, you continue to get an XML error, sending along the text of that exception will be very helpful in diagnosing what’s wrong.

 

- Thomas

 

 

  _____  

From: Willem Schwarte [mailto:willem at giskit.nl] 
Sent: Friday, April 07, 2006 5:36 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] How can I connect to my server with a WMS connection??

 

It seems i can connect, but i get a XML error.. To what URL do I connect? How does this work, is there any info on setting this up?

 

Willem

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060407/14c0364a/attachment.html


More information about the Mapguide-users mailing list