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