Actionscript 3 动作脚本3中的WFS-T

Actionscript 3 动作脚本3中的WFS-T,actionscript-3,gis,Actionscript 3,Gis,我的小组正在与GeoServer的GIS服务器合作,该服务器提供WFS服务 我们不确定如何在Elips中发出HTTP POST请求并将以下xml作为请求的一部分发送: <wfs:Transaction service="WFS" version="1.0.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:topp="http://www.openplans.org/topp" xmlns:gml="http://www.opengi

我的小组正在与GeoServer的GIS服务器合作,该服务器提供WFS服务

我们不确定如何在Elips中发出HTTP POST请求并将以下xml作为请求的一部分发送:

<wfs:Transaction service="WFS" version="1.0.0"
  xmlns:wfs="http://www.opengis.net/wfs"
  xmlns:topp="http://www.openplans.org/topp"
  xmlns:gml="http://www.opengis.net/gml"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd http://www.openplans.org/topp http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=topp:tasmania_roads">
  <wfs:Insert>
    <topp:tasmania_roads>
      <topp:the_geom>
        <gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#27354">
          <gml:lineStringMember>
            <gml:LineString>
              <gml:coordinates decimal="." cs="," ts=" ">
494475.71056415,5433016.8189323 494982.70115662,5435041.95096618
              </gml:coordinates>
            </gml:LineString>
          </gml:lineStringMember>
        </gml:MultiLineString>
      </topp:the_geom>
      <topp:TYPE>mytest</topp:TYPE>
    </topp:tasmania_roads>
  </wfs:Insert>
</wfs:Transaction>

494475.71056415,5433016.8189323 494982.70115662,5435041.95096618
我的测试

如何做到这一点?

如果这就是您所说的ELIP

那么这似乎更像是一个elips问题,而不是flex问题

似乎自从FlashPlayer5以来,就有了一种通过Post发送XML的相对简单的方法


或者,您被困在如何生成XML上了。Elips有特殊的处理方式吗?

你试过用pidgeon发送吗?

你应该试着重新编译你的内核,并用“新ipad”连接起来,以获得苹果力量的神奇感觉

谢谢你的回答。我已经了解了这是如何在Flex框架中完成的,并且它在WFS服务器上运行良好。问题出在Elips Studio中。这是相同的代码,但在WFS服务器上不起作用。但Elips仍处于测试阶段。