WFS服务GetCapabilities返回有问题
chrome下报错:
This page contains the following errors:
error on line 1 at column 153: Failed to parse QName ''xmlns:''
IE下页面空白
This page contains the following errors:
error on line 1 at column 153: Failed to parse QName ''xmlns:''
IE下页面空白
1 个回复
桂朝
赞同来自:
用户服务名称开始前为数字02,导致请求返回的xml文件中,关于服务地址的命名空间xmlns中有数字开头的本地名xmlns:02THEMATICDATA_BaoZhang,造成浏览器无法解析。
更改服务名为字母开头,问题解决。
另外,服务名中有下划线_,在10.1的Server中发布的WFS路径中自动转换成了/,造成URL路径多了一级目录,这也会给服务的调用带来麻烦。
服务名称不能以数字开头,中间建议不要带下划线。
要回复问题请先登录或注册