Command line arguments for the Axis sample application

The Axis sample application runs from the command prompt using Java. After you have compiled the Axis sample into an executable class file, you can perform configuration and incident management tasks with the following arguments.

Note To see the usage information for the Axis sample application, type ClassName where ClassName is the name of a sample application class.

Configuration Management

The following commands invoke Configuration Management functionality. These examples assume you are using the batch files provided with the Axis sample application to automatically set the class path and call the proper executable class.

Operation Command-line example
Create contact

CreateContactSample -name sneveau -fullname "Sophie Neveau"

Delete contact DeleteContactSample -username falcon -name "sneveau"
Retrieve contact

RetrieveContactSample -name "FALCON, JENNIFER"

Update Contact UpdateContactSample -name "FALCON, JENNIFER"

Incident Management

The following commands invoke Incident Management functionality. These examples assume you are using the batch files provided with the Axis sample application to automatically set the class path and call the proper executable class.

Operation Command-line example
Close incident

CloseIncidentSample -incidentId IM10001 -closeCode "User Closer" -resolution "Problem disappeared"

Create incident CreateIncidentSample -briefDescription "Java sample brief description" -category incident -incidentDescription "This is a description" -severity 1 -subCategory hardware -productType "missing or stolen" -initialImpact 1 -service Applications -primaryAssignmentGroup Network
Resolve incident

ResolveIncidentSample -incidentId IM10006 -resolution "Problem disappeared"

Retrieve incident list RetrieveIncidentListSample -incidentId IM10001:IM10002
Retrieve incident RetrieveIncidentSample -incidentId IM1001
Update incident UpdateIncidentSample -incidentId IM10006 -journalUpdates "User provided more information"