Share via


Package Location Request to Server (Windows Embedded CE 6.0)

1/6/2010

When the download event becomes current, the target device sends a package location request to the server.

Package Location Request XML Elements

The following table shows the Package Location Request XML elements.

Element Description

PackageLocationRequest

Root element of the Package Location Request document.

PackageID

Unique ID for this particular package.

ClientLocation

Top-level element of the section that describes the client's location.

DirectoryService

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

Name

Name of the directory that contains this client.

IPAddresses

Top-level element used to provide IP-based location information for this client.

IPAddress

Top-level element used to contain IP address information.

Package Location Request Schema

The following schema shows the package location request.

X-Device-UUID:43004500500043000000434550434B5335343934350000000000
X-Device-Auth:d302b047-c9a2-4a11-a392-df84195d2808
X-Device-Timestamp:11/11/2002 10:40:42 AM
X-Device-Action:LocationRequest
<?xml version="1.0" encoding="utf-8" ?>
<PackageLocationRequest xmlns="Default XML namespace used for the XML document">
  <PackageID>"Unique ID of the package"</PackageID>
  <ClientLocation>
    <DirectoryService>
      <Name>"The name of the directory which contains this client"</Name>
    </DirectoryService>
    <IPAddresses>
      <IPAddress address="IP address of client" subnet="Subnet address of client" />
    </IPAddresses>
  </ClientLocation>
</PackageLocationRequest>

Package Location Request Example

The following schema shows an example of a package location request.

X-Device-UUID:43004500500043000000434550434B5335343934350000000000
X-Device-Auth:d302b047-c9a2-4a11-a392-df84195d2808
X-Device-Timestamp:11/11/2002 10:40:42 AM
X-Device-Action:LocationRequest
<?xml version="1.0" encoding="utf-8" ?>
<PackageLocationRequest xmlns="https://www.microsoft.com/DeviceManagement.xsd">
  <PackageID>9A437CA5-5B17-4486-9E87-260742074A72</PackageID>
  <ClientLocation>
    <DirectoryService>
      <Name>MyDirectoryService</Name>
    </DirectoryService>
    <IPAddresses>
      <IPAddress address="172.18.42.254" subnet="255.255.252.0" />
    </IPAddresses>
  </ClientLocation>
</PackageLocationRequest>

See Also

Concepts

Target Device Download Event
Device Management Operation