post XML查询wfs的问题
var pa=" <Filter> <PropertyIsLike> <PropertyName>bl_id </PropertyName> <Literal>$('#txt').val()+‘*’ </Literal> </PropertyIsLike> </Filter>";
$.ajax({
type: "POST",
dataType:"html",
url: "http://jcdesktop/cgi-bin/mapserv?map=/map/projects/hku/floorplan.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&typename=room",
processData:false,
data:"filter="+pa,
success: function(xml){
$("#getfea").html(xml);
}
});
$('#txt').val("");
在文本框里面输入,点按钮执行上面代码 返回下面
<wfs:FeatureCollection xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengeospatial.net//wfs/1.0.0/WFS-basic.xsd http://mapserver.gis.umn.edu/mapserver http://192.168.0.22/cgi-bin/mapserv?map=/map/projects/hku/floorplan.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=room&OUTPUTFORMAT=XMLSCHEMA">
−
<gml:boundedBy>
<gml:null>missing </gml:null>
</gml:boundedBy>
</wfs:FeatureCollection>
帮忙看看那里出错了。。怎么没返回数据
相关问答:
txt 和XML 格式相应
不借助DataSet
导入读取TXT文件
然后直接写入XML(同一文件,不同数据,递增原数据没有被覆盖情况下增加数据.)
教个要点或最好是有个代码提示的
过路好汉 帮个忙撒^^
不会,帮楼主 ......
从数据库中查询一张表的数据
select 部门,姓名 from tb
如何才能生成下面的xml格式
XML code:
<folder state="unchecked" label="全部">
<folder state="unchecked&qu ......
已知文件1.xml和数据文件db.xml,如何用java编写程序,得出2.xml文件?
1.已知xml文件 1.xml结构如下:
<cs>
<cs name="cs1" details="This is cs1" country="China&q ......
<?xml version="1.0" encoding="utf-8" ?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q ......
我在编写一个wince5.0的程序,想实现把PDA上的一个LIST <STRING>类型的数据序列化为XML,然后在PC上的一个webservice拿到这个XML,转化为Dataset,更新PC上的数据库,我想问怎么把XML传给webservice的呢?
......