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.

SetAttribute function

Sets or creates a specified attribute to the specified properties. If the attribute does not exist, it is created. If the attribute exists, it is updated with the specified settings.

Namespace



*

http://atrium.bmc.com/2009/01/classes/types*
 

WSDL operation

<operation name="SetAttribute" parameterOrder="inargs">
<input message="tns:SetAttributeRequest"
	name="SetAttributeRequest"/>
<output message="tns:SetAttributeResponse"
	name="SetAttributeResponse"/>
<fault message="tns:AtriumFault" name="AtriumFault"/>
</operation>

WSDL messages

<message name="SetAttributeRequest">
	 <part element="types:SetAttribute" name="inargs"/>
</message>
<message name="SetAttributeResponse">
	<part element="common:StatusOutput" name="outargs"/>
</message>
<message name="AtriumFault">
	<part element="common:AtriumFault" name="errargs"/>
</message>

XSD schema

<element name="SetAttribute">
	<complexType>
		<sequence>
			<element name="lang" type="string"/>
			<element name="classNameId" type="common:ClassNameId"/>
			<element name="attributeName" type="string"/>
			<element name="newAttributeName" type="string"
				nillable="true" />
			<element name="attributeInfo"
				type="common:AttributeInfoIn" nillable="true"/>
			<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. It 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 .

attributeName

The name of the attribute to set.

newAttributeName

The new name of the attribute, which must be unique within the specified class and within its superclasses and subclasses.

attributeInfo

See AttributeInfoIn.

extensions

A list of extension types for the operation.

 

Return values

 

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