The first subelement of all payloads is cm-header. The cm-header element contains information about the identity of the two parties that exchange the payload.
<!ELEMENT cm-header (cm-sender, cm-receiver?, cm-authentication?)> <!ELEMENT cm-sender EMPTY> <!ATTLIST cm-sender sender-id CDATA #REQUIRED name CDATA #REQUIRED> <!ELEMENT cm-receiver EMPTY> <!ATTLIST cm-receiver receiver-id CDATA #REQUIRED name CDATA #REQUIRED > <!ELEMENT cm-authentication EMPTY> <!ATTLIST cm-authentication login CDATA #REQUIRED password CDATA #REQUIRED >
cm-sender
The cm-sender element must always appear as the subelement of the cm-header element. It specifies the identity of the payload sender. The attributes of the cm-sender elements have the following meanings:
sender-id
Payload sender ID. During the installation, each NPS Content Management Server and the clients are allocated an ID which is unique within the communication context. This ID is used in the creation of the payload as thesender-id.name
Payload sender name. The name is a string which identifies the application which sends the payload. The Content Management Server uses CM-Server as the name.
cm-receiver
The cm-receiver element specifies the identity of the desired receiver of the payload. This element is optional as long as there is an individual network connection between the server and the client. In this case, the sender of the payload and the receiver are uniquely identified. If, however, between the server and the client there is a proxy server which serves several clients or servers, both the server and the client can use the cm-receiver element to inform the proxy server of the receiver. The attributes of the cm-receiver elements have the following meanings:
receiver-id
Payload receiver ID. This attribute has the same semantics as thesender-idattribute of thecm-senderelement. It contains the ID of the NPS server or NPS client which is to receive the payload. The ID is unique within a communication context. For response payloads, this attribute is always a copy of thesender-idattribute of thecm-senderelement in the corresponding request payload.name
Name of the receiver. The name is a string which identifies the desired receiver application. For response payloads, this attribute is a copy of thenameattribute of thecm-senderelement in the corresponding request payload.
cm-authentication
The cm-authentication element is optional. It can only be used in request payloads. It contains information about the user for whom the request is to be processed. The attributes of the cm-authentication element have the following meanings:
login
The login of the user of the Content Management Server.password
The password of the user (clear text).