HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 1 HP 3PAR CLI Commands for the WSAPI Server (continued)
AuthorityDescriptionCommand
Any role granted the
wsapisession_remove right
Before attempting to use the CLI
removeuser command to remove a
user connected through the WSAPI
server, all sessions associated with that
WSAPI user must first be removed by
issuing the CLI removewsapisession
command.
Connections associated with the WSAPI
server can be removed only by issuing
the removewsapisession command.
(Since WSAPI 1.3)
The WSAPI server does not run by default. It must be started with the startwsapi command-line
interface (CLI) command, and can be configured with the setwsapi command:
1. To start the WSAPI server, issue the startwsapi command in the CLI.
2. To configure the server, issue the setwsapi command in the CLI.
For more information about using the CLI, see:
HP 3PAR Command Line Interface Administrator’s Guide
HP 3PAR Command Line Interface Reference
To obtain these documents, go to the HP 3PAR StoreServ Storage site and click the Support link
for your product:
HP 3PAR StoreServ Storage
About the SDK
In addition to the WSAPI, HP provides an SDK for Java and Perl, available by download from the
following website:
HP 3PAR Web Services API
Java SDK
The Java SDK includes:
Core "storage-entity" classes representing the attributes of HP 3PAR storage system objects
(hosts, ports, CPGs, volumes, VLUNs, etc.) and input parameters (members) for creating objects.
An example client interface which demonstrates the use of JavaScript Object Notation (JSON)
processors with the base classes.
Example programs to illustrate the creation and query of base entities. These examples rely
on the accessor and base packages.
By default, the sample client of the Java SDK requires certificate validation when using HTTPS (as
opposed to HTTP). This behavior can be modified; for more information, see the README.txt file
in the Java folder. Additional information about changing the certificate used by the HP 3PAR
StoreServ storage system can be found in the help for the HP 3PAR OS CLI command, createcert.
12 Introduction