This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CreateClass function

Creates a class with the specified properties. 

WSDL operation

<operation name="CreateClass" parameterOrder="inargs">
<input message="tns:CreateClassRequest"
	 name="CreateClassRequest"/>
<output message="tns:CreateClassResponse"
	 name="CreateClassResponse"/>
<fault message="tns:AtriumFault" name="AtriumFault"/>
</operation>

WSDL messages

<message name="CreateClassRequest">
	 <part element="types:CreateClass" name="inargs"/>
</message>
<message name="CreateClassResponse">
	 <part element="common:StatusOutput" name="outargs"/>
</message>
<message name="AtriumFault">
	<part element="common:AtriumFault" name="errargs"/>
</message>

XSD schema

<element name="CreateClass">
	<complexType>
		<sequence>
			<element name="lang" type="string"/>
			<element name="classNameId" type="common:ClassNameId"/>
			<element name="superclassNameId" type="common:ClassNameId" 
				nillable="true"/>
			<element name="classId" type="string"/>
			<element name="classInfo" type="common:ClassInfoIn"/>
			<element name="extensions" type="common:ExtensionsList" 
				nillable="true" />
		</sequence>
	</complexType>
</element>
<element name="StatusOutput">
	<complexType>
		<sequence>
			<element name="status" type="impl:StatusList"/>
		</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

lang

The language of the product specific to the locale. If no language is specified, the default language is used.

classNameId

The name of the class to create. The classNameId property is a two-part structure that contains the namespace name and the class name. The name of the class must be unique to the namespace. See ClassNameId..

superclassNameId

The parent class of the new class. Specify NULL for this parameter if there is no superclass. See ClassNameId.

classId

The unique identifier for the class. You can type a value for the ID or you can let the system generate it.

classInfo

The type of class to create. The information contained in this definition depends on the type of class you specify. See ClassInfoIn.

extensions

A list of extension types for the operation.

 

Return value

status

A list of zero or more notes, warnings, or errors generated from a call of this operation.

 

Fault message

Fault message

See Fault message

Was this page helpful? Yes No Submitting... Thank you

Comments