1 quick start, Welcome to imc restful web services, The first imc-rs client – HP Intelligent Management Center Licenses User Manual

Page 22: Preparations, Verify imc-rs availability, Preparations verify imc-rs availability

Advertising
background image

1 Quick Start

This guide provides overview and reference information for the iMC extended API, a set of
commands and support files that enables you to customize your iMC experience.

Welcome to iMC RESTful Web Services

iMC provides web services based on open service-oriented architecture (SOA). Web services are
primarily implemented using these methods: REST, SOAP, and XML-RPC. Compared with the other
two methods, the REST-style web services feature clearness and simplicity.

Using the Hypermedia as the Engine of Application State (HATEOAS) feature of the REST application
architecture, together with the systematic and extendable web services, iMC becomes very flexible
to offer various and customized services. Almost all iMC services can be integrated into target
software as RESTful web services, meeting various service integration requirements at present and
in future.

The user guide is intended for RESTful web services users, and comprises the following contents:

Quick Start

Describes the basic structure and access method of iMC RESTful web services, helping you quickly
establish the client environment for accessing the basic service interfaces.

Client Access

Describes how to access iMC RESTful web services by using the following Java REST clients:

Apache Commons HTTP Client (3.1)

Apache HTTP Client (4.x)

SpringFramework (3.x) RestTemplate

Jersey Client

Android SDK

This document covers the access method based on Java only, but not other languages or systems.

R & D References

Describes the iMC-RS design ideas, conventions, and development constraints.

The First iMC-RS Client

This section guides you to quickly access iMC-RS services and to create your first iMC-RS client
program.

The following shows you how to access iMC-RS with Java. Ensure that you are familiar with Java
and the Eclipse environment.

Preparations

Make sure you have finished the following tasks:
1.

Install and deploy iMC 5.1 or a later version, run iMC, and perform device auto discovery.

2.

Download and install Eclipse 3.6 or a later version.

3.

Download and install JDK 6 or JRE 6.

4.

Download Apache HttpClient 4.1 or a later version, and decompress it to the local host.

Verify iMC-RS availability

Follow these steps to verify the availability of iMC-RS:

22

Quick Start

Advertising