2

Having GeoServer installed locally in my machine, I'm currently doing a R&D by trying to access WMS service from GeoServer using ArcGIS API for Silverlight.

I'm trying to replicate the sample in ESRI site which deals with accessing a WMS service using ArcGIS API for Silverlight. I'm unable to view the map in the browser.

Given below is the XAML code used in my application:

<UserControl x:Class="SilverlightApp.Beginners.MainPage"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     
  xmlns:esri="http://schemas.esri.com/arcgis/client/2009">
    <Grid x:Name="LayoutRoot">
        <esri:Map WrapAround="True">     
            <esri:WmsLayer 
              ID="OtherWMSLayer" 
              Layers="OSOpenData" 
              Url="http://localhost:9595/geoserver/wms" 
              Opacity="0.7" 
              SupportedSpatialReferenceIDs="4326"     
              SkipGetCapabilities="True" 
              Version="1.1" />
        </esri:Map>   
    </Grid>
</UserControl>

Please can anyone shed light on this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.