Package Location Response to Target Device (Windows Embedded CE 6.0)
1/6/2010
A Package Location Response contains the current download URL for the target device. This is the URL from which the target device will download the package specified by the server in its Response to Device Poll.
Package Location Response XML Elements
The following table shows the Package Location Response XML elements.
Element | Description |
---|---|
Root element of the Package Location document. |
|
Unique ID for this particular package. |
|
Top-level element of the section that describes the locations of package servers. |
|
Top-level element used to group multiple Location elements. |
|
Top-level element of the section that contains SMB information. |
|
An SMB path to the package contents. |
|
Top-level element of the section that contains HTTP information. |
|
A URL of the package contents. |
|
Top-level element that encapsulates information about the directory service this package is a part of. |
|
Name of the directory that contains this package. |
|
Top-level element of the section that contains subnet information. |
|
A subnet that contains the package contents. |
Package Location Response Schema
The following schema shows the package location response.
<PackageLocation>
<PackageID>"Unique ID for package"</PackageID>
<Locations>
<Location metric="Metric value for location instance comparison">
<SMB>
<SMBPath>"SMB path to the package"</SMBPath>
</SMB>
<HTTP>
<URL>"URL of the package"</URL>
</HTTP>
<DirectoryService>
<Name>"The name of the directory which contains this package"</Name>
</DirectoryService>
<IPSubnets>
<Subnet>"Subnet of package"</Subnet>
</IPSubnets>
</Location>
</Locations>
</PackageLocation>
Package Location Response Example
The following schema shows an example of a package location response.
<PackageLocation>
<PackageID>9A437CA5-5B17-4486-9E87-260742074A72</PackageID>
<Locations>
<Location metric="5">
<SMB>
<SMBPath>\\server\pkg</SMBPath>
</SMB>
<HTTP>
<URL>http://joeuser/testdir/</URL>
</HTTP>
<DirectoryService>
<Name>samplebar</Name>
</DirectoryService>
<IPSubnets>
<Subnet>255.255.0.0</Subnet>
</IPSubnets>
</Location>
</Locations>
</PackageLocation>