Zend SOAP Server Sub Elements

I’m trying to create a WSDL and respond with a similar structure. I’d like my Residents to have sub elements / objects but I’m not sure how to accomplish that in the WSDL.

 /**
 * @param string $RequestID
 * @param string $SystemID
 * @param string $Vendor
 * @param object $Residents
 * @param string $TimeStamp
 * @return object openaccount
 */    

public function multireleaserefund($RequestID, $SystemID,$Vendor,$Residents,$TimeStamp)
{
    $r->ReplyStatus = 1;
    $r->RequestID = $RequestID;
    $r->SystemID = $SystemID;
    $r->Vendor = $Vendor;
    $r->Residents->resident[0]->SubRequestID = 1234324;
    $r->Residents->resident[0]->ResidentIdentifier = 123;
    $r->Residents->resident[0]->PIN = 123;
    $r->Residents->resident[1]->SubRequestID = 1234324;
    $r->Residents->resident[1]->ResidentIdentifier = 123;
    $r->Residents->resident[1]->PIN = 123;
    $r->ResidentIdentifier = $ResidentIdentifier;
    $r->TimeStamp = $TimeStamp;

    return $r;
}

Alternatively in the response instead of it looking like this:

<Residents>
                <resident>
                    <SOAP-ENC:Struct>
                        <SubRequestID>1234324</SubRequestID>
                        <ResidentIdentifier>123</ResidentIdentifier>
                        <PIN>123</PIN>
                    </SOAP-ENC:Struct>
                    <SOAP-ENC:Struct>
                        <SubRequestID>1234324</SubRequestID>
                        <ResidentIdentifier>123</ResidentIdentifier>
                        <PIN>123</PIN>
                    </SOAP-ENC:Struct>
                </resident>
            </Residents>

I want it looking like this:

<Resident>
				<SubRequestID>string</SubRequestID>
				<ResidentIdentifier>string</ResidentIdentifier>
				<PIN>string</PIN>
			</Resident>
			<Resident>
				<SubRequestID>string</SubRequestID>
				<ResidentIdentifier>string</ResidentIdentifier>
				<PIN>string</PIN>
			</Resident>
			<Resident>

Can someone help me with what I’m doing wrong?