Compartilhar via


Sample Master XML Data

Note  Wireless Provisioning Services (WPS) is no longer available as of Windows Vista.

 

This section provides samples of two Master files.

The first example defines the global parameters for the SampleWISP provider:

  • The domain name is set to SampleWISP.com.

  • The TTL expiry is set to 1 day.

  • A set of XML subfiles is defined for English (en) and Japanese (ja). Each subfile defines a current version value and an HTTPS URL for TTL updates.

  • TTL updates are downloaded from the HTTPS URL specified for the Master data and each subfile.

<?xml version="1.0" encoding="US-ASCII"?>
  <Master xmlns="https://www.microsoft.com/provisioning/Master">
    <DomainName>SampleWISP.com</DomainName>
    <TTL>1</TTL>
   <UpdateFrom>https://SampleWISP.com/master.xml</UpdateFrom>

    <LangSet xml:lang="en">
      <Subfile Name="SSID">
         <URL>https://SampleWISP.com/en/ssid.xml</URL>
         <Version>3</Version>
      </Subfile>
      <Subfile Name="Connection">
        <URL>https://SampleWISP.com/en/connection.xml</URL>
        <Version>5</Version>
      </Subfile>
      <Subfile Name="Branding">
         <URL>https://SampleWISP.com/en/branding.xml</URL>
         <Version>1</Version>
      </Subfile>
      <Subfile Name="Locations">
        <URL>https://SampleWISP.com/en/locations.xml</URL>
        <Version>15</Version>
      </Subfile>
      <Subfile Name="Help">
        <URL>https://SampleWISP.com/en/help.xml</URL>
        <Version>7</Version>
      </Subfile>
      <Subfile Name="Register">
         <URL>https://SampleWISP.com/en/register.xml</URL>
         <Version>4</Version>
      </Subfile>
    </LangSet>

    <LangSet xml:lang="ja">
      <Subfile Name="SSID">
         <URL>https://SampleWISP.com/ja/ssid.xml</URL>
         <Version>3</Version>
      </Subfile>
      <Subfile Name="Connection">
        <URL>https://SampleWISP.com/ja/connection.xml</URL>
        <Version>5</Version>
      </Subfile>
      <Subfile Name="Branding">
         <URL>https://SampleWISP.com/ja/branding.xml</URL>
         <Version>1</Version>
      </Subfile>
      <Subfile Name="Locations">
        <URL>https://SampleWISP.com/ja/locations.xml</URL>
        <Version>15</Version>
      </Subfile>
      <Subfile Name="Help">
        <URL>https://SampleWISP.com/ja/help.xml</URL>
        <Version>7</Version>
      </Subfile>
      <Subfile Name="Register">
         <URL>https://SampleWISP.com/ja/register.xml</URL>
         <Version>4</Version>
      </Subfile>
    </LangSet>
  </Master>

The second example defines the global parameters for the SampleWISP2 provider:

  • The domain name is set to SampleWISP2.com.

  • The TTL expiry is set to 7 days.

  • No subfiles are defined for the SampleWISP2.com.

  • Links to other Master files are defined for the WISP domains Partner1.com, Partner2.com, and Partner3.com. As a result, this Master file will populate the WPS provisioning store with the XML data for the wireless connections provided by the three WISP domains.

<?xml version="1.0" encoding="US-ASCII"?>
<Master xmlns="https://www.microsoft.com/provisioning/Master">
    <TTL>7</TTL>
    <DomainName>SampleWISP2.com</DomainName>
    <UpdateFrom>https://SampleWISP2.com/master.xml</UpdateFrom>
    <OtherMasters>
        <MasterURL>https://Partner1.com/master.xml</MasterURL>
        <MasterURL>https://Partner2.com/master.xml</MasterURL>
        <MasterURL>https://Partner3.com/master.xml</MasterURL>
    </OtherMasters>
</Master>

 

 

Send comments about this topic to Microsoft