Nsm Api Authentication And Authorization; Nsm Api Error Handling - Juniper NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 Manual

Api guide
Table of Contents

Advertisement

Network and Security Manager 2010.4 API Guide

NSM API Authentication and Authorization

NSM API Error Handling

4
Retrieve high level device status
Retrieve log packet data
The CommonDataTypes.xsd file contains definitions of the data types described in this
chapter.
For more information, see the NSM Release Notes, NSM Administration Guide, and NSM
Online Help for client and server setup requirements.
This chapter contains the following sections:
Before the API can connect to the NSM server, a user must log into the NSM server using
a user name, password, and domain name. This is analogous to the user sign in a regular
GUI client. The application includes the authentication token in the subsequent API call
requests to the NSM server.
If the API client encounters an error,either the client receives an error message or an
exception is thrown. Two types of errors are possible.
Application-level errors result from problems with application-level data on the client
side or on the server side.
The request is missing a required field. In this case, the request is not sent out from
the client side.
The request is valid, but a problem occurred when NSM processed the data.
Infrastructure errors can occur on the client side or server side. The NSM
application-level software does not catch this type of error, so exceptions are thrown
by the API client code. The possible errors are:
NSM server is down
Problem with the client-side or server-side SOAP framework
Wrong server address
The NSM server catches all application-level errors and returns the error messages.
The result of a service request is either Success or Failure If a request fails, an error code
and error message are returned as part of the response message.
Figure 1 on page 5 shows the basic structure of application-level errors returned by the
NSM server. Table 4 on page 5 describes the frequently used ErrorType data type.
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Network and security manager 2010.4

Table of Contents