SOAP-Beispiel für ein Persistent Update

Das Folgende zeigt eine standardmäßige Persistent Update-SOAP-Anforderung mit allen verfügbaren Aktualisierungsoptionen (kein funktionierendes Beispiel, es wird nur zur Demonstration der Anforderungssyntax verwendet). PersistentUpdates kann mehrere Update- oder Reset-Definitionen enthalten. Sie können nur einen einzelnen Aktualisierungstyp (PointUpdate, SegmentUpdate oder RoadTypeUpdate) innerhalb von Update einstellen. Ähnlich können Sie nur einen einzelnen Rücksetzungstyp (PointReset, SegmentReset oder RoadTypeReset) innerhalb von Reset einstellen. Sie können außerdem nur eine einzelne Aktualisierung oder Rücksetzung innerhalb eines Aktualisierungs- und Rücksetzungstyps einstellen.

Bei einer Rücksetzung aller Aktualisierungen müssen Sie nur DataSetResourceName angeben und den RestoreDefaults-Parameter auf Y einstellen.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:per="http://www.g1.com/services/PersistentUpdate" xmlns:typ="http://www.g1.com/services/erm/types">
   <soapenv:Header/>
   <soapenv:Body>
      <per:PersistentUpdateRequest>
         <per:options>
            <per:DataSetResourceName>US</per:DataSetResourceName>
			<per:CoordinateSystem>?</per:CoordinateSystem>
            <per:RestoreDefaults>N</per:RestoreDefaults>
         </per:options>
         <per:rows>
            <per:row>
                <per:PersistentUpdates>
                    <typ:UpdateList>
                        <typ:Update>
                           <typ:PointUpdate>
                              <typ:Point>
                                 <typ:Latitude>?</typ:Latitude>
                                 <typ:Longitude>?</typ:Longitude>
                              </typ:Point>
                              <typ:SpeedUpdate>
                                 <typ:Velocity VelocityUnit=""/>
                                 <typ:SpeedIncrease>
                                    <typ:Velocity VelocityUnit=""/>
                                    <typ:Percentage>?</typ:Percentage>
                                 </typ:SpeedIncrease>
                                 <typ:SpeedDecrease>
                                    <typ:Velocity VelocityUnit="?">?</typ:Velocity>
                                    <typ:Percentage>?</typ:Percentage>
                                 </typ:SpeedDecrease>
                              </typ:SpeedUpdate>
                              <typ:Exclude>?</typ:Exclude>
                           </typ:PointUpdate>
                           <typ:SegmentUpdate>
                              <typ:RoutingSegmentID>?</typ:RoutingSegmentID>
                              <typ:SpeedUpdate>
                                 <typ:Velocity VelocityUnit="?">?</typ:Velocity>
                                 <typ:SpeedIncrease>
                                    <typ:Velocity VelocityUnit="?">?</typ:Velocity>
                                    <typ:Percentage>?</typ:Percentage>
                                 </typ:SpeedIncrease>
                                 <typ:SpeedDecrease>
                                    <typ:Velocity VelocityUnit="?">?</typ:Velocity>
                                    <typ:Percentage>?</typ:Percentage>
                                 </typ:SpeedDecrease>
                              </typ:SpeedUpdate>
                              <typ:RoadType>?</typ:RoadType>
                              <typ:Exclude>?</typ:Exclude>
                           </typ:SegmentUpdate>
                           <typ:RoadTypeUpdate>
                              <typ:RoadType>?</typ:RoadType>
                              <typ:SpeedUpdate>
                                 <typ:Velocity VelocityUnit="?">?</typ:Velocity>
                                 <typ:SpeedIncrease>
                                    <typ:Velocity VelocityUnit="?">?</typ:Velocity>
                                    <typ:Percentage>?</typ:Percentage>
                                 </typ:SpeedIncrease>
                                 <typ:SpeedDecrease>
                                    <typ:Velocity VelocityUnit="?">?</typ:Velocity>
                                    <typ:Percentage>?</typ:Percentage>
                                 </typ:SpeedDecrease>
                              </typ:SpeedUpdate>
                           </typ:RoadTypeUpdate>
                        </typ:Update>
                    </typ:UpdateList>
                    <typ:ResetList>
                        <typ:Reset>
                            <typ:PointReset ResetType="?">
                                <typ:Point>
                                    <typ:Latitude>?</typ:Latitude>
                                    <typ:Longitude>?</typ:Longitude>
                                </typ:Point>
                            </typ:PointReset>
                            <typ:SegmentReset ResetType="?">
                                <typ:RoutingSegmentID>?</typ:RoutingSegmentID>
                            </typ:SegmentReset>
                            <typ:RoadTypeReset>
                                <typ:RoadType>?</typ:RoadType>
                            </typ:RoadTypeReset>
                        </typ:Reset>
                    </typ:ResetList>
                </per:PersistentUpdates>
             </per:row>
         </per:rows>
      </per:PersistentUpdateRequest>
   </soapenv:Body>
</soapenv:Envelope>