I all,
I'm trying to print maps with data from my geoserver WMS and layers from an
public WMS.
I can print mapsonly if my map contains only data from my geoserver. If I
try to print a map with data from my service and from an aother service I
ahave an error 500 :
03 fÚvr. 09:37:44 ERROR [servlet.BaseMapServlet] - Error while generating
PDF
DocumentException:
org.mapfish.print.InvalidJsonValueException: spec.layers[1].baseURL has an
inval
id value: http://geoservices.brgm.fr/risques? (spec.layers[1].baseURL has
an inv
alid value: http://geoservices.brgm.fr/risques?)
I can see that the trouble comes from the baseURL for the other wms service.
I use an xml in my geoserver that is the getcapabiliites of the service "
http://geoservices.brgm.fr/risques?" to display the layers of the external
service.
I don't really know where does the error comes from and how to get this
service printing working with serveral data sources.
Thanks in advance for your help.
gerome
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users