2010-03-02 33 views
0

我的小組正在與提供WFS服務的GeoServer的GIS服務器一起工作。ActionScript 3中的WFS-T

我們不知道如何使一個HTTP POST請求的ELIPS和發送下面的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> 

如何才能做到這一點?

回答

0

如果這是你在談論

http://www.openplug.com/products/elips-studio

然後這似乎是更大的ELIPS問題比柔性問題ELIPS。

看來,自Flash Player 5出現了通過郵政

http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary855.html

發送XML一個相對簡單的方式或者是你停留在如何使XML。 Elips是否有特殊的做事方式?

+0

Thx爲您的答案。我已經發現這是如何在Flex框架中完成的,並且它對於WFS服務器來說工作正常。問題出在Elips Studio上。它是相同的代碼,但它在WFS服務器上不起作用。但Elips仍處於Beta版。 – LencoTB 2010-03-03 11:39:34

0

您是否試過用pidgeon發送它?

0

你應該嘗試重新編譯你的內核,並用「新的ipad」來連接它,以獲得蘋果電源的神奇感覺!