public function toXMLString() { $str = ''; $str .= '<ns:GetMobileStatusReq>'; if ($this->GetMobileStatusRequest != NULL) { $str .= '<ns:GetMobileStatusRequest>'; $str .= $this->GetMobileStatusRequest->toXMLString(); $str .= '</ns:GetMobileStatusRequest>'; } $str .= '</ns:GetMobileStatusReq>'; return $str; }
public function toXMLString() { $str = ''; $str .= '<urn:GetMobileStatusReq>'; if ($this->GetMobileStatusRequest != null) { //prop is not a collection //prop is complex //prop is not enum //does not contain attribute or is attribute $str .= '<urn:GetMobileStatusRequest>'; $str .= $this->GetMobileStatusRequest->toXMLString(); $str .= '</urn:GetMobileStatusRequest>'; } $str .= '</urn:GetMobileStatusReq>'; return $str; }