GetClass function


Retrieves class information. 

WSDL operation

<operation name="GetClass" parameterOrder="inargs">
<input message="tns:GetClassRequest"
name="GetClassRequest"/>
<output message="tns:GetClassResponse"
name="GetClassResponse"/>
<fault message="tns:AtriumFault"name="AtriumFault"/>
</operation>

WSDL messages

<message name="GetClassRequest">
<part element="types:GetClass" name="inargs"/>
</message>
<message name="GetClassResponse">
<part element="types:GetClassOutput" name="outargs"/>
</message>
<message name="AtriumFault">
<part element="common:AtriumFault" name="errargs"/>
</message>

XSD schema

<element name="GetClass">
<complexType>
<sequence>
<element name="lang" type="string"/>
<element name="classNameId" type="common:ClassNameId"/>
<element name="extensions" type="common:ExtensionsList"
nillable="true" />
</sequence>
</complexType>
</element>
<element name="GetClassOutput">
<complexType>
<sequence>
<element name="classInfo" type="common:ClassInfoOut"/>
<element name="status" type="common:StatusList"/>
<element name="extensions" type="common:ExtensionsList"
nillable="true" />
</sequence>
</complexType>
</element>
<element name="AtriumFault">
<complexType>
<choice>
<element name="serviceFault"
type="tns:AtriumServiceFault" />
<element name="backendFault"
type="tns:AtriumBackendFault" />
</choice>
</complexType>
</element>

Input arguments



Return values



Fault message



Example

The following code is an example of the output from invoking the GetClass method of the atrium_classes web service.

BMC Atrium WS [ INFO ] Thread:1402 Date:2009-08-20T23:20:44.025+0530
Class:com.bmc.atrium.ws.classes.atrium_classes
Method:getClass
File:atrium_classes.java Line:1644
+ Operation exited normally
+ Artifacts follow:
-------------------------------------------------------------------------
<typ:GetClassOutput xmlns:typ="http://atrium.bmc.com/2009/01/classes/types">
<classInfo>
<properties>
<regular>
<isAbstract>NO</isAbstract>
<exposure>USED_VISIBLE</exposure>
<hiddenPerms/>
<visiblePerms>-1098;-1099;-1090;-1091;</visiblePerms>
<categorizationSubclass>false</categorizationSubclass>
<description>Class that stores configuration items (CIs) relating to collections
of managed system elements. The managed system elements provide computing capabilities
and serve as aggregation points to relate one or more of the following elements:
file systems, operating systems, processors, and memory (volatile storage, nonvolatile,
or storage). The BMC_ComputerSystem class is the primary class that you will use to
model the computers in your organization. You can use the attributes in this class to
identify the purpose of each computer CI in your organization. For example,
the class contains several attributes that represent any network-addressable system,
such as a server, a workstation, or a network device (router, switch, hub, load balancer,
firewall, and so forth), as well as mainframes, printers, and virtual systems.
So CMDB planners might use the PrimaryCapability element to define a vendor-specific
switch used in their network, making it easy to import this data from a vendor
as an industry-standard item in their CMDB. They could also define computer systems
further by placing them in one of its subclasses: BMC_Mainframe, BMC_Printer, or
BMC_VirtualSystem.  The BMC_ComputerSystem class corresponds to the DMTF
CIM_ComputerSystem class.</description>
<isFinal>false</isFinal>
<isSingleton>false</isSingleton>
<author/>
<auditInfo>
<auditType>NONE</auditType>
<qualifierString/>
</auditInfo>
</regular>
</properties>
<indexList/>
<customCharacList/>
<superclassNameId>
<namespaceName>BMC.CORE</namespaceName>
<className>BMC_System</className>
</superclassNameId>
<classId>BMC_COMPUTERSYSTEM</classId>
<classType>REGULAR</classType>
<formName>BMC.CORE:BMC_ComputerSystem</formName>
</classInfo>
<status/>
<extensions>
<clas:ClassDeprecationInfo xmlns:clas="http://atrium.bmc.com/2009/08/extensions/classes">
<classId>BMC_COMPUTERSYSTEM</classId>
<isDeprecated>false</isDeprecated>
<mappedClass xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</clas:ClassDeprecationInfo>
</extensions>
</typ:GetClassOutput>
==================================================================


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix CMDB 23.3