
The Subscribe Push Type
Issue 1 April 2005 57
Subscribe Push Content (PC)
The Push Content for the Subscribe push type must be an XML file. This XML file contains the
URL for the subscription server and the type of subscription request made.
Using the <Response> Tag
The <Response> tag for the Subscribe push type must be the root element in the (PC) XML file.
Using the <Subscribe> Tag
Following is the syntax for the Subscribe XML file:
Each < Response> can contain only one <Subscribe> tag with the following attributes:
The <Url> tag has the following attributes:
An exact string-based comparison matches the subscription URIs against the SUBSCRIBELIST
values. If the subscription server URI does not exactly match the values in the
SUBSCRIBELIST, the subscription request is aborted.
Note: See Subscription Service in Chapter 4: Push Administration for more information.
<?xml version="1.0"?>
<Response>
<Subscribe type=”all|me”>
<Url href= ”Subscription_Server_Url” />
</Subscribe>
</Response >
Attribute Value Description
type “all” Instructs the endpoint to re-subscribe to all servers in the SUBSCRIBELIST.
“me” Instructs the endpoint to re-subscribe to the server in the href attribute of
the <Url> tag. This url string must exactly match one of the subscription
server list servers in the SUBSCRIBELIST variable for this type of
subscription to proceed. If the matching fails the subscription request is
aborted.
Attribute Value Description
href string Contains the URL of the subscription server for which the endpoint must
subscribe. Maximum length cannot exceed 1024 characters.
Kommentare zu diesen Handbüchern