c03.fm
A31003-S2000-R102-16-7620, 02/2016
Provisioning Service, Developer’s Guide
55
Nur für den internen Gebrauch
Basic Communication Procedures
Provisioning Service Driven Interaction
3.6.7.3
XML Data Exchange For Multiple File Deployment
With multiple file deployment, the message exchange is similar to single file deployment, but
the data items are indexed. These indexed items enable deploying a set of files of various types
with a singular message. Additionally, it is possible to delete files on the phone. A single action
can include both deployment and deletion commands. A specific file and the action to be exe-
cuted with it (
file-action
) are assigned to each other by a common index number.
The selective deletion of files is possible because the combination of
file-name
and
file-
type
is unique on the phone.
As the phone will not send status information on multiple file deployment or file deletion, the
provisioning server should check the result by requesting a ReadAllItems.
The following example shows a multiple file deployment request; in the message flow, it cor-
responds to the XML message described in Section 3.6.7.2, "XML Data Exchange For Single
File Deployment".
<DLSMessage xsi:schemaLocation="http://www.siemens.com/DLS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.siemens.com/DLS">
<Message nonce="E5BFC5E2FBCE6CD3D20DC9AD975C0355">
<Action>FileDeployment</Action>
<ItemList>
<Item name="file-server" index="1">192.168.1.150</Item>
<Item name="file-path" index="1">/media/</Item>
<Item name="file-name" index="1">
Logo for OpenStage 80.png
</Item>
<Item name="file-type" index="1">LOGO</Item>
<Item name="file-pwd" index="1">dlsftp5</Item>
<Item name="file-port" index="1">21</Item>
<Item name="file-username" index="1">dls</Item>
<Item name="file-action" index="1">deploy</Item>
<Item name="file-server" index="2">192.168.1.150</Item>
<Item name="file-path" index="2">/media/</Item>
<Item name="file-name" index="2">ringtone-ringin.wav</Item>
<Item name="file-type" index="2">RINGTONE</Item>
<Item name="file-pwd" index="2">dlsftp5</Item>
<Item name="file-port" index="2">21</Item>
<Item name="file-username" index="2">dls</Item>
<Item name="file-action" index="2">deploy</Item>
</ItemList>
</Message>
</DLSMessage>