Share via


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

PackageLocation

Root element of the Package Location document.

PackageID

Unique ID for this particular package.

Locations

Top-level element of the section that describes the locations of package servers.

Location

Top-level element used to group multiple Location elements.

SMB

Top-level element of the section that contains SMB information.

SMBPath

An SMB path to the package contents.

HTTP

Top-level element of the section that contains HTTP information.

URL

A URL of the package contents.

DirectoryService

Top-level element that encapsulates information about the directory service this package is a part of.

Name

Name of the directory that contains this package.

IPSubnets

Top-level element of the section that contains subnet information.

Subnet

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>

See Also

Concepts

Target Device Download Event
Device Management Operation