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 following XML example illustrates how to establish a virtual private network (VPN) connection to a corporate network by using an existing connection to the Internet. The connection to the corporate network is made through a VPN connection created with the CM_VPNEntries Configuration Service Provider.

Code Example

Copy Code
<characteristic type="CM_PPPEntries">
   <characteristic type="InternetPPP">
	<parm name="DestId"
value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
	<parm name="CountryCode" value="1" />
	<parm name="AreaCode" value="425" />
	<parm name="Phone" value="5550124" />
	<parm name="UserName" value="USERNAME" />
	<parm name="Password" value="PASSWORD" />
	<parm name="Domain" value="DOMAIN" />
   </characteristic>
</characteristic>
<characteristic type="CM_VPNEntries">
   <characteristic type="VPN1">
	<parm name="SrcId"
value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
	<parm name="DestId"
value="{A1182988-0D73-439e-87AD-2A5B369F808B}" />
	<parm name="Phone" value="corp-vpn.adatum.com" />
	<parm name="UserName" value="myuser" />
	<parm name="Password" value="mypassword" />
	<parm name="Domain" value="mydomain" />
   </characteristic>
</characteristic>

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 OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also