# ReturnCode type

The ReturnCode type is used as the generic answer type for most of the BruteXservices operations.

The defining Java class is `net.brutex.xservices.types.ReturnCode` .

Schema definition

    <xs:complexType name="ReturnCodeType">
        <xs:sequence>
            <xs:element name="returnCode" type="xs:int"/>
            <xs:element minOccurs="0" name="stdOut" type="xs:string"/>
            <xs:element minOccurs="0" name="stdErr" type="xs:string"/>
            <xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
        </xs:sequence>
    </xs:complexType>

Example XML

    		<ReturnCode
    		xmlns:ns2="http://ws.xservices.brutex.net">
    		<returnCode>0</returnCode>
    		<stdOut/>
    		<stdErr/>
    		<propertyList>

    			See
    			tns:antProperty
    			for details about the <propertyList> elements.

    		<name>key1</name>
    		<value>value1</value>
    		</propertyList>
    		<propertyList>
    		<name>key2</name>
    		<value>value2</value>
    		</propertyList>
    		</ReturnCode>