Below are some examples to explain transactional requests
transactional requests for deegree WFS | WFS-T Insert WFS-T Update WFS-T Delete
To try these requests, please use the generic client

WFS-T Insert Create new feature instances | ^ up
<?xml version="1.0" encoding="UTF-8"?> <wfs:Transaction version="1.1.0" service="WFS" xmlns:app="http://www.deegree.org/app" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:dgjdbc="http://www.deegree.org/jdbc" xmlns:deegreewfs="http://www.deegree.org/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.deegree.org/app ../../../featuretypes/Philosopher.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Insert handle="insert" idgen="GenerateNew"> <wfs:FeatureCollection> <gml:featureMember> <app:Country gml:id="COUNTRY_2"> <app:name>Part of Germany</app:name> <app:geom> <gml:MultiPolygon srsName="EPSG:4326"> <gml:polygonMember> <gml:Polygon srsName="EPSG:4326"> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates cs="," decimal="." ts=" ">-1.2825000286102295,50.578887939453125 -1.3675000667572021,50.61860656738281 -1.4730556011199951,50.66082763671875 -1.4963890314102173,50.66791534423828 -1.5122222900390625,50.66888427734375 -1.5233335494995117,50.66749572753906 -1.538055658340454,50.663604736328125 -1.569583535194397,50.65902328491211 -1.5508334636688232,50.67527770996094 -1.5233335494995117,50.695274353027344 -1.3088889122009277,50.77111053466797 -1.2941668033599854,50.771663665771484 -1.1159722805023193,50.736385345458984 -1.0938889980316162,50.720550537109375 -1.0597224235534668,50.68749237060547 -1.1683335304260254,50.60194396972656 -1.1913890838623047,50.593605041503906 -1.215277910232544,50.58721923828125 -1.2416667938232422,50.582496643066406 -1.2825000286102295,50.578887939453125</gml:coordinates> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </gml:polygonMember> </gml:MultiPolygon> </app:geom> </app:Country> </gml:featureMember> </wfs:FeatureCollection> </wfs:Insert> </wfs:Transaction>
WFS-T Update Update a single feature instance or a set of features for a single featuretype | ^ up
<?xml version="1.0" encoding="UTF-8"?> <wfs:Transaction version="1.1.0" service="WFS" xmlns:app="http://www.deegree.org/app" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:dgjdbc="http://www.deegree.org/jdbc" xmlns:deegreewfs="http://www.deegree.org/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.deegree.org/app ../../../featuretypes/Philosopher.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Update handle="update1" typeName="app:Country"> <wfs:Property> <wfs:Name>app:name</wfs:Name> <wfs:Value>Netherlands</wfs:Value> </wfs:Property> <Filter xmlns="http://www.opengis.net/ogc"> <PropertyIsEqualTo> <PropertyName>app:Country/app:name</PropertyName> <Literal>France</Literal> </PropertyIsEqualTo> </Filter> </wfs:Update> </wfs:Transaction>
WFS-T Delete Delete one or more feature instances | ^ up
<?xml version="1.0" encoding="UTF-8"?> <wfs:Transaction version="1.1.0" service="WFS" xmlns:app="http://www.deegree.org/app" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.deegree.org/app ../../../featuretypes/Philosopher.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Delete handle="delete1" typeName="app:Philosopher"> <ogc:Filter> <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!"> <ogc:PropertyName>app:name</ogc:PropertyName> <ogc:Literal>*</ogc:Literal> </ogc:PropertyIsLike> </ogc:Filter> </wfs:Delete> </wfs:Transaction>