Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Client Response Examples

 

The following examples show the XML format of a client response.

Example: Client Response to Query for Username ‘bob’

Example: Client Response to Query for Username ‘bob’

This response shows the results of a query for any sessions for username ‘bob’. The response shows the request failed because no sessions were found for that username, as indicated by: resultMessage = no session found.

Example: Client Response to Query for Any Username Using Wildcard

Example: Client Response to Query for Any Username Using Wildcard

This example shows the response to a successful query request for all sessions with any username using the * wildcard. The response retrieved sessions for usernames: TestUser8, TestUser9, and TestUser10. All three sessions are being handled by a device with NAS-Identifier= Building1.Room1.AP1.

Example: Client Response to Request for Action Called “foo” on Username TestUser9

Example: Client Response to Request for Action Called “foo” on Username TestUser9

This example shows the response to a client request to perform an action called “foo” on username=TestUser9. The results show that although a session was found for username TestUser9, the request failed because the action “foo” is not defined in the deviceModels.xml file for the device (NAS-Identifier= Building1.Room1.AP1) handling the session. The failure is indicated by the resultMessage: unknown action specified in Device Control request.

Example: Client Response to Request for Action Called “foo” on Username TestUser99

Example: Client Response to Request for Action Called “foo” on Username TestUser99

This response shows the results to a client request to perform an action called “foo” on username=TestUser99. In this example, the request failed as indicated by: resultMessage = 'no matching controlled device for Device Control request'. This failure indicates that the NAS handling the session is a model that has no controlledDeviceModel defined in the deviceModels.xml file.

Example: Client Response to RADIUS Disconnect

Example: Client Response to RADIUS Disconnect

This response shows the results to a client request to perform a disconnect action on username TestUser9. The response shows that the request timed out, as indicated by the resultMessage: Device Control request timed out.

Example: Client Response to Action Intercept

Example: Client Response to Action Intercept

This example shows the client response to a request to perform an action called Intercept on username=TestUser9. In this example, the request failed as indicated by: resultMessage = 'no matching controlled device for Device Control request'. This failure indicates that the NAS handling the session is a model that has no controlledDeviceModel defined in the deviceModels.xml file.

Example: Client Response to Action Intercept

Example: Client Response to Action Intercept

This example shows the client response to a request to perform an action called Intercept on username TestUser8. In this case a session was found, but the request failed because the action Intercept was not defined for the device handling the session, as indicated by: resultMessage: unknown action specified in Device Control request.

Example: Client Response to Action Intercept

Example: Client Response to Action Intercept

This example shows the client response to a request to perform an action called Intercept on any usernames beginning with: TestUser, as indicated by the * wildcard (TestUser*). In this case, an active session was found for TestUser10, but the request failed because the action Intercept was not defined for the device handling the session, as indicated by: resultMessage: unknown action specified in Device Control request.