Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The XML code in the following example is processed by the FwUpdate Configuration Service Provider which will update information about a package. It Creates a subtree for the package information under the FwUpdate node. It inserts information into the PkgURL and PkgName nodes of the subtree. It then downloads the package and updates it with the specified information.

Code Example

Copy Code
<Add>
	<CmdID>7002</CmdID>
	<Item>
		<Target>
		 
<LocURI>./FwUpdate/{Pkg}/DownloadAndUpdate/PkgURL</LocURI>
		</Target>
		<Data>http://mytest/testabc.cab</Data>
	</Item>
</Add>
 
<Add>
	<CmdID>7003</CmdID>
	<Item>
		<Target>
			<LocURI>./FwUpdate/{Pkg}/PkgName</LocURI>
		</Target>
		<Data>My Package Test Update</Data>
	</Item>
</Add>
 
<Exec>
	<CmdID>7004</CmdID>
	<Item>
		<Target>
		 
<LocURI>./FwUpdate/{Pkg}/DownloadAndUpdate</LocURI>
		</Target>
	</Item>
</Exec>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.

See Also