[Mapbender-users] error adding new wms sources, this value is not a valid url.

Florian Biebeler biebel_241 at web.de
Mon Sep 21 07:54:20 PDT 2015


Hello,

did you tried it with the localhost?
http://*localhost**:8080*/geoserver/... or 
http://*127.0.0.1:8080*/geoserver/... instead of 
http://*geoserver:8080*/geoserver/ ...?



Am 21.09.2015 um 15:16 schrieb jasper oaks:
> Hello list,
> I am using mapbender3-3.0.5.1 and having trouble adding new sources 
> through the mapbender web interface.
> When adding a new source pointing to a local geoserver wms it gives 
> the error "this value is not a valid url". There is no further 
> information in the log files.
> I can add this wms no problem through the WMS Loader inside the map 
> application, and also by adding it manually through mapbender.yml, so 
> there does not appear to be a problem with the wms service or url.
> The error happens regardless of whether 'only valid' is checked or not 
> when adding the new source.
>
> The wms url is 
> http://geoserver:8080/geoserver/trails/wms?service=wms&version=1.1.1&request=GetCapabilities
> When that url is called in a browser it returns:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE WMT_MS_Capabilities SYSTEM 
> "http://geoserver:8080/geoserver/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd">
> <WMT_MS_Capabilities version="1.1.1" updateSequence="1244">
>   <Service>
>     <Name>OGC:WMS</Name>
>     <Title>GeoServer Web Map Service</Title>
>     <Abstract>A compliant implementation of WMS plus most of the SLD 
> extension (dynamic styling). Can also generate PDF, SVG, KML, 
> GeoRSS</Abstract>
>     <KeywordList>
>       <Keyword>WFS</Keyword>
>       <Keyword>WMS</Keyword>
>       <Keyword>GEOSERVER</Keyword>
>     </KeywordList>
>     <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" 
> xlink:type="simple" xlink:href="http://geoserver"/>
>     <ContactInformation>
>       <ContactPersonPrimary>
>         <ContactPerson/>
>         <ContactOrganization/>
>       </ContactPersonPrimary>
>       <ContactPosition/>
>       <ContactAddress>
>         <AddressType/>
>         <Address/>
>         <City/>
>         <StateOrProvince/>
>         <PostCode/>
>         <Country/>
>       </ContactAddress>
>       <ContactVoiceTelephone/>
>       <ContactFacsimileTelephone/>
>       <ContactElectronicMailAddress/>
>     </ContactInformation>
>     <Fees>NONE</Fees>
>     <AccessConstraints>NONE</AccessConstraints>
>   </Service>
>   <Capability>
>     <Request>
>       <GetCapabilities>
> <Format>application/vnd.ogc.wms_xml</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Get>
>             <Post>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Post>
>           </HTTP>
>         </DCPType>
>       </GetCapabilities>
>       <GetMap>
>         <Format>image/png</Format>
>         <Format>image/jpeg</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </GetMap>
>       <GetFeatureInfo>
>         <Format>text/plain</Format>
>         <Format>application/vnd.ogc.gml</Format>
>         <Format>text/html</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Get>
>             <Post>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Post>
>           </HTTP>
>         </DCPType>
>       </GetFeatureInfo>
>       <DescribeLayer>
> <Format>application/vnd.ogc.wms_xml</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </DescribeLayer>
>       <GetLegendGraphic>
>         <Format>image/png</Format>
>         <Format>image/jpeg</Format>
>         <Format>image/gif</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </GetLegendGraphic>
>       <GetStyles>
> <Format>application/vnd.ogc.sld+xml</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource 
> xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?SERVICE=WMS&"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </GetStyles>
>     </Request>
>     <Exception>
> <Format>application/vnd.ogc.se_xml</Format>
> <Format>application/vnd.ogc.se_inimage</Format>
> <Format>application/vnd.ogc.se_blank</Format>
>     </Exception>
>     <UserDefinedSymbolization SupportSLD="1" UserLayer="1" 
> UserStyle="1" RemoteWFS="1"/>
>     <Layer>
>       <Title>GeoServer Web Map Service</Title>
>       <Abstract>A compliant implementation of WMS plus most of the SLD 
> extension (dynamic styling). Can also generate PDF, SVG, KML, 
> GeoRSS</Abstract>
>       <!--Limited list of EPSG projections:-->
>       <SRS>EPSG:2157</SRS>
>       <LatLonBoundingBox minx="-9.870921684975233" 
> miny="51.34378633004773" maxx="-6.548647345772159" 
> maxy="55.20348634974392"/>
>       <BoundingBox SRS="EPSG:2157" minx="469667.10496418463" 
> miny="510130.71119706857" maxx="701106.2754963497" 
> maxy="941180.4731006552"/>
>       <Layer queryable="1" opaque="0">
>         <Name>trail_zones</Name>
>         <Title>trail_zones</Title>
>         <Abstract/>
>         <KeywordList>
>           <Keyword>features</Keyword>
>           <Keyword>trail_zones</Keyword>
>         </KeywordList>
>         <SRS>EPSG:2157</SRS>
>         <!--WKT definition of this CRS:
> PROJCS["IRENET95 / Irish Transverse Mercator",
>   GEOGCS["IRENET95",
>     DATUM["IRENET95",
>       SPHEROID["GRS 1980", 6378137.0, 298.257222101, 
> AUTHORITY["EPSG","7019"]],
>       TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
>       AUTHORITY["EPSG","6173"]],
>     PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
>     UNIT["degree", 0.017453292519943295],
>     AXIS["Geodetic longitude", EAST],
>     AXIS["Geodetic latitude", NORTH],
>     AUTHORITY["EPSG","4173"]],
>   PROJECTION["Transverse_Mercator", AUTHORITY["EPSG","9807"]],
>   PARAMETER["central_meridian", -8.0],
>   PARAMETER["latitude_of_origin", 53.5],
>   PARAMETER["scale_factor", 0.99982],
>   PARAMETER["false_easting", 600000.0],
>   PARAMETER["false_northing", 750000.0],
>   UNIT["m", 1.0],
>   AXIS["Easting", EAST],
>   AXIS["Northing", NORTH],
>   AUTHORITY["EPSG","2157"]]-->
>         <LatLonBoundingBox minx="-9.870921684975233" 
> miny="51.34378633004773" maxx="-6.548647345772159" 
> maxy="55.20348634974392"/>
>         <BoundingBox SRS="EPSG:2157" minx="480865.20035424805" 
> miny="511498.4298595997" maxx="692406.9176743389" 
> maxy="939603.6263352733"/>
>         <Style>
>           <Name>polygon</Name>
>           <Title>Default Polygon</Title>
>           <Abstract>A sample style that draws a polygon</Abstract>
>           <LegendURL width="20" height="20">
>             <Format>image/png</Format>
>             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" 
> xlink:type="simple" 
> xlink:href="http://geoserver:8080/geoserver/trails/wms?request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=trail_zones"/>
>           </LegendURL>
>         </Style>
>       </Layer>
>     </Layer>
>   </Capability>
> </WMT_MS_Capabilities>
> Is there a way of knowing why mapbender will not accept this wms as valid?
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20150921/dbbd9b0b/attachment-0001.html>


More information about the Mapbender_users mailing list