Basic Communication Procedures
Nur für den internen Gebrauch
A31003-S2000-R102-16-7620 02/2016
60
Provisioning Service, Developer’s Guide
c03.fm
Provisioning Service Driven Interaction
3.6.9.2
XML Data Exchange
The following example shows the deployment of a WBM server certificate, which is needed for
secure communication between the phone’s web server and a web browser. As steps 1 to 3
are already described in Section 3.6.3, "Read Phone Settings", only the specific steps are
shown.
1. The provisioning service send the base64-encoded certificate data.
<DLSMessage xmlns="http://www.siemens.com/DLS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.siemens.com/DLS">
<Message nonce="BB0DBC18D7B8A34BA3DB8295BD5B29D3">
<Action>WriteItems</Action>
<ItemList>
<Item name="wbm-server-certificate">[PKCS#12 data,
base64 encoded]</Item>
</ItemList>
</Message>
</DLSMessage></Object>
2. The phone informs the provisioning service that it has accepted the action.
<WorkpointMessage xsi:schemaLocation="http://www.siemens.com/DLS"
xmlns="http://www.siemens.com/DLS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Message nonce="43C308AE8D03F14392F565075A9922FB" maxItems="-1"
fragment="final">
<ReasonForContact status="accepted" action="WriteItems">
reply-to</ReasonForContact>
<ItemList/>
</Message>
</WorkpointMessage>
3. To verify if the certificate had been deployed correctly, the provisioning service requests
the
wbm-server-certificate-info
item.
<DLSMessage xmlns="http://www.siemens.com/DLS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.siemens.com/DLS">
<Message nonce="43C308AE8D03F14392F565075A9922FB">
<Action>ReadItems</Action>
<ItemList>
<Item name="wbm-server-certificate-info"></Item>
</ItemList>
</Message>
</DLSMessage>