Instruction manual
Appendix B: NetScaler API Reference
B-4 NetScaler 9000 Series Installation and Configuration Guide - Volume 1
NSICG60_JAN05
4. The NetScaler kernel acts on the request and returns one or more
responses.
5. The SOAP handler then translates the response(s) to a SOAP response
message.
6. The XML response is then sent back to the client in a HTTP response.
B.6 The NSConfig Interface
The NSConfig interface closely mirrors the structure of the NetScaler 9000
system’s Command Line Interface (CLI). The administrators and
programmers who are familiar with the NetScaler 9000 system’s CLI can
easily create and implement custom applications to query or set the NetScaler
9000 system configuration. This semantic and syntactic closeness between the
API and the CLI helps in leveraging the familiarity and expertise that has
been gained using the two interfaces.
The
NSConfig interface contains a method corresponding to each CLI
command.
Note:
There are several CLI commands which are not included in the API,
and a few instances where the method name and the CLI command
differ.
Refer to the <portType> section of the WSDL for a complete list of
methods and their names.
Let us take the example of add lb vserver CLI command for creating a load
balancing virtual server. The following is the CLI command:
add lb vserver <vServerName> <serviceType> [<IPAddress> <port>]
where:
serviceType = ( HTTP | FTP | TCP | UDP)
The corresponding API call, in the C language, would be: